I simply can't get my head round this today
Probably easy, but I've been chocka, and brain is melting...
Anyhoo...
If I have a table, with say, id(unique, auto inc), name, email,
membership_type
I've listed them on a PHP page...
I want to add a checkbox to each row, so that I can select 1
: Thursday, March 04, 2004 3:36 PM
Subject: [PHP-DB] Multiple deletes and updates...
I simply can't get my head round this today
Probably easy, but I've been chocka, and brain is melting...
Anyhoo...
If I have a table, with say, id(unique, auto inc), name, email,
membership_type
I've
the heck does chocka mean?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 8:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Multiple deletes and updates...
I simply can't get my head round this today
Probably easy, but I've
: [PHP-DB] Multiple deletes and updates...
You can use checkboxes to do it :
input type=checkbox name=delrec[] value=?=$recid?
and in the code
foreach($_POST[delrec] as $ccc) {
$res=mysql_query(delete from table_name where id= $ccc);
}
HTH
Mustafa
- Original Message -
From