December 2nd, 1999, 11:10 AM
I'm trying to change the value of a field in a table so for example, if the form is submitted it should change the old_value of the variable test_var to value2. I think it is something like: alter $table set test_var=$value2 where $old_value
it doesn't work and i don't know from there. I read the mysql docs but it's kind of confusing.
I apreciate your help!
December 2nd, 1999, 11:48 AM
You don't want ALTER, that changes the table structure. To change a value you want to use UPDATE.