Problem to update table in mysql using php
Saturday, June 9, 2012 - 17:49
Below is my code
from this code i am able to update only that particular row
now i want to update some bunch of rows with different content so please edit this code sir
This is my table structure:
+----+---------+
| id | content |
+----+---------+
| 2 | abc | can any one help me please
+----+---------+
| 14 | def |
+----+---------+
<?php $hostname = "localhost"; $username = ""; $password = ""; $database = ""; // Connect to the database 2); echo 'update query succeeded'; } else { echo 'update query failed'; } } else { echo 'please submit the form'; }
Add new comment