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==";...
Hello, ... I think the problem is that you do this: $states[][] = "==SELECT STATE=="; It should be: $states[""][""] = "==SELECT STATE=="; -- Regards, Manuel...
Hi !!! This was great help... I put that, and Now I see the STATES FIELD !!! but: I see this: Country: ==SELECT COUNTRY== State: ==SELECT STATE== When I click...
Hi I changed this: Before main FOR $states[""][""] = "==SELECT STATE=="; for ($i=0....){ ... $states[$datacountry['COUNTRYNAME']][""] = "==SELECT STATE=="; ...
Manuel, i would like to use your forms class in a function designed to print out an id text box and and "edit" button. the form is actually very simple. the...
Hello, ... The problem is that you are not defining the OutputDebug function. So, either you define that function or remove the line above that assigns the...
Manuel, i commented out the reference to OutputDebug and still received the same error. I also tried adding Function OutputDebug($error) { print "$error\n"; }...
Hello, ... I suspect that you really did not change the code that you think you changed. You see, the error points to a line that calls a function set to the ...
Manuel, good call. this was the culprit... $form_edit =& new form_class; i should have left it without the & sign)... $form_edit =& new form_class; do you...
i forgot to add $form_edit->StartLayoutCapture(); $form_edit->EndLayoutCapture(); $form_edit->DisplayOutput(); ... <?PHP function edit_data(){ REQUIRE_ONCE...
Hello, ... No, you can use that without problems. Actually it is slightly faster. ... Used this at the end: $form_edit->DisplayOutput(); -- Regards, Manuel...
Manuel, i have the following function designed to display my edit form... function action_display_edit(){ REQUIRE_ONCE ('common/forms.php'); $form_edit = new...
Manuel, i am trying to layout the output of two forms functions... $form_edit and $form_delete inline. if i type the following code... function hello(){ print...
it could be a css issue on my end (maybe my submit button is causing a break). i'll test it out and get back with you. i am having other layout problems with...
Hello, ... This does not make much sense. Your function does not return anything when you call it. So the first call will make it output before the first data...
Hello, ... Of course, there is no magic here. If you do not set the ACTION class variable, it goes to the same page. If you set it to elsewhere, the class will...