hi Manuel, i have the following code... ... $sql = 'SELECT product_id, product_number FROM t_product ORDER BY product_number ASC'; $rs = $conn->Execute($sql); ...
Hello, ... I just released a new version that fixes this problem -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP ...
Hello, ... Your initial value is "". Therefore it must be present in the options array. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components...
Manuel, i populate a select via a table in my db. the table in the db is subject to change. for example, new product may be added at any time. i sort the...
manuel, how come the following displays and acts correctly even though there is no "" value in the database table to match the VALUE in the class? $conn =...
Hello, ... That is because you have that validation type ValidadeAsNotEmpty, which is meant to not allow the empty string value. ... If you query ordering by...
Hello, ... Because MULTIPLE select fields may have not option set, unless you use the ValidateAsSet. Even in that case, you can start with no options set. The...
Hello, ... Because MULTIPLE select fields may have not option set, unless you use the ValidateAsSet. Even in that case, you can start with no options set. The...
Manuel, thanks for the reset and key php functions. i set it up so that i was querying the db to get these values - now i can save a query. i could use the...
Hello, ... I don't need it now either but there is a lot of demand. So, I have been thinking about a working model solution. What I have in mind is to add the...
Manuel, i can't get label to work with file for file uploads. $form->AddInput(array( "TYPE"=>"file", "NAME"=>"userfile", "ACCEPT"=>"application/pdf", ...
Hello, ... That means that you need to define the ID of the file input so the browser can associate the label to the input. -- Regards, Manuel Lemos PHP...
Hello, everybody I am playing with FormGeneration script and have found a problem when dealing with non Latin-1 encoded text. When the ValidationErrorMessage...
Hello, ... As you may notice the escaping only happens that way when the encoding class variable is left set to "iso-8859-1" which is also known as Latin-1 ....
Hello, ... Hummm... I was not aware that character 127 was not accepted as valid. Anyway, I just fixed that and a few other minor XHTML compatibility problems....
Hi guys... I'm having a little trouble now, because I have this: I need a country list in a select field (has any1 the code to generate this list ?) Well, when...
Hello, ... Connecting form inputs to handle events triggered in one input is on my to do list. Meanwhile, what you want can be done with appropriate Javascript...
Manuel, I have the following code... INCLUDE ('includes/common.inc.php'); $form=new form_class; $form->NAME="upload_assembly_docs"; $form->METHOD="POST"; ...
... I have a problem with latest version of forms.php if I set $form->encoding="Windows-1251"; JavaScript alerts show properly but the labels are gibberish, if...
Hello, I thought I have answered this: ... The ACCEPT attribute is just a recommendation for the browsers to filter the list of files to list. However, most...
Hello, ... That encoding should not affect labels. Can you give me an example of what causes a problem? -- Regards, Manuel Lemos PHP Classes - Free ready to...
Hi Manuel (and the other members) I tried to build 2 linked selects, taking data for each select field from DB... I've a countries table: (ID,COUNTRYNAME); ...
Hello, ... This is hard to see. Please post a var_dump($countries,$states); -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in...
Hi Manuel Here is the dump of these variables I don't understand anything of this.. array(3) { [""]=> string(18) "==SELECT COUNTRY==" ["Argentina"]=> ...
Hello, ... The indexes of origin select must match the indexes of the target select. In the origin you have the indexes: "", "Argentina", "Chile". In the ...
Hi Manuel Yes, I supposed that, but how to fix this in the FOR structure ? When it is single array, doing like this works: $countries[] = "==SELECT COUNTRY==";...