|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Is there any way to change some of the values inside a table without replacing all of the information. For instance if a price changes on one item, can I change that one field using PHP and MySQL or do I rewrite the text file and replace the whole thing? Thanks for the help.
|
|
#2
|
||||
|
||||
|
Hi,
you can change a field value with out changing all the values in a table. Just use an update statement for getting this. "UPDATE TABLE TABLENAME SET PRICE=1000 WHERE ITEM='item1'"; |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Editing Table data |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|