[PHP-DB] Multiple deletes and updates...

2004-03-04 Thread Tristan . Pretty
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

Re: [PHP-DB] Multiple deletes and updates...

2004-03-04 Thread mustafa ocak
: 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

RE: [PHP-DB] Multiple deletes and updates...

2004-03-04 Thread Hutchins, Richard
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

Re: [PHP-DB] Multiple deletes and updates...

2004-03-04 Thread Tristan . Pretty
: [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