To
<[EMAIL PROTECTED]>
cc
Subject
Re: [PHP-DB] Multiple deletes and updates...
You can use checkboxes to do it :
and in the code
foreach($_POST["delrec"] as $ccc) {
$res=mysql_query("delete from table_name where id= $ccc");
}
HTH
Mustafa
- Original
Are you thinking about something like (off the top of my head, untested):
for each of the people listed on your page?
Then, in the script that handles the updating stuff, you simply do a
foreach($_POST["update"] as $value){
$sql = "some UPDATE query using $value";
}
foreach($_POST["
You can use checkboxes to do it :
and in the code
foreach($_POST["delrec"] as $ccc) {
$res=mysql_query("delete from table_name where id= $ccc");
}
HTH
Mustafa
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 04, 2004 3:36 PM
Subject