|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi,
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! //Till |
|
#2
|
|||
|
|||
|
You don't want ALTER, that changes the table structure. To change a value you want to use UPDATE.
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > ALTER |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|