I need to know if it is possible to edit multiple fields in a Mysql database table at the same time with php. I know how to edit a single field. So if there is a way to edit multiple fields at one time with php let me know please.
Thanks
[code=php] mysql_query("UPDATE MyTable SET MyField1 = 'MyValue1', MyField2 = 'MyValue2' WHERE MyField3 = 'MyValue3'"); [/code]
MyField1
MyField2
MyField3
Help @monarch_684 spread the word by sharing this article on Twitter...