multiple update records with php?
updating multiple records on a single page, using mySQL / PHP?
Hi,
any ideas on updating multiple records on a single page, using mySQL / PHP? I have seen some solutions for ASP, but not for PHP.
I would like to have a dynamic table developed from a recordset, where the left column for each recdord is set, but the right column is changeable (like a text box).
cheers, andrew
Comments
Mulitple update with ASP | SQL
do u know if there exists any multiple update Extension for ASP|SQL
this window i do my post in - what extension is that ?
nobody?
ImpAKT
this is the way i done it.
'; echo ''; echo $users["nume"]; echo '
'; } echo ''; echo ''; if (isset($_GET['perm'])) { $perm = $_GET['perm']; foreach ($perm as $userid) { //you can use the next line for control to see if id works every time //echo ''.$userid.' is set'; // i just show them but you can update, delete whatever you want on the $userid field. $query1 = "select * from test where test.id = '$userid'"; $result1 = mysql_query($query1); while ($row1 = mysql_fetch_array($result1)) { echo $row1["nume"]." is set
"; } } } else { echo '
None are set'; } ?>
You must me logged in to write a comment.