![]() |
|||||||||||||||||||||||||||||||||
| Home --- Topics --- Articles --- Offers --- Register --- Contact us | |||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||
|
Did you know? if you register at Hamid School you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts! Are you Confused? Click here to learn how to use hamid school PHP MySQL UpdateThe UPDATE statement is used to modify data in a database table. Update Data In a DatabaseThe UPDATE statement is used to modify data in a database table. Syntax
Note: SQL statements are not case sensitive. UPDATE is the same as update. To get PHP to execute the statement above we must use the mysql_query() function. This function is used to send a query or command to a MySQL connection. ExampleEarlier in the tutorial we created a table named "Person". Here is how it looks:
The following example updates some data in the "Person" table:
After the update, the "Person" table will look like this:
Viewed:533 Original Author: W3school however, some changes have been made to the main contents.
Did you know? if you register at Hamid School you can learn web programming and designing for free and also you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts!
|
|
||||||||||||||||||||||||||||||||
|
Sponsored by: Surreyhost.com Coded and designed by: Hamid Moudi HPLA Follow us: ![]() ![]() |
|||||||||||||||||||||||||||||||||