Hey guys.
I hit another snafoo today that is really going to cause me some grief if what I think is happening is really happening :-)
I have a HTML form that is used to edit data from a mySQL database. So I have a php page that accesses the db, reads all the data, and turns that data into variables. I then use an HTML like this to set the form up so the users value form the database is displayed:
echo ("<input type='text' name='test1' value='".$Test1."'>");
It works just fine. However, if they DON'T update ALL the fields and click submit my update fails. If the user changes them all, it works fine. Just one will not update any rows in the mySQL db. I did some debugging and found that even though I set the value of the field with the value='' attribute, when I click on SUBMIT that value DOES NOT get passed unless they user has explicity updated it.
Is this how HTML forms are supposed to work? If so, how can I get around this problem?
Thanks for all the help,
Kablarg (M7_B5)