Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Tom Rogers
Hi, Thursday, May 27, 2004, 11:34:03 AM, you wrote: AP I've checked the archives and several other sources, but still can't AP seem to make this work. AP I have a form with checkboxes to designate records to be deleted from AP the mysql database. The pertinent form code is: AP input

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread John W. Holmes
Albert Padley wrote: I've checked the archives and several other sources, but still can't seem to make this work. I have a form with checkboxes to designate records to be deleted from the mysql database. The pertinent form code is: input type=\checkbox\ name=\del[]\ value=\ . $row['id'] . \

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Albert Padley
On May 26, 2004, at 8:01 PM, John W. Holmes wrote: Albert Padley wrote: I've checked the archives and several other sources, but still can't seem to make this work. I have a form with checkboxes to designate records to be deleted from the mysql database. The pertinent form code is: input

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Albert Padley
On May 26, 2004, at 7:55 PM, Tom Rogers wrote: Hi, Thursday, May 27, 2004, 11:34:03 AM, you wrote: AP I've checked the archives and several other sources, but still can't AP seem to make this work. AP I have a form with checkboxes to designate records to be deleted from AP the mysql database.

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Curt Zirzow
* Thus wrote Albert Padley ([EMAIL PROTECTED]): input type=\checkbox\ name=\del[]\ value=\ . $row['id'] . \ The processing code is: if (count($del) 0){ for ($i=0;$icount($del);$i++){ $query = DELETE FROM ref_events_reg WHERE id = '$del[$i]'; } } I think

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Albert Padley
On May 26, 2004, at 11:16 PM, Curt Zirzow wrote: * Thus wrote Albert Padley ([EMAIL PROTECTED]): input type=\checkbox\ name=\del[]\ value=\ . $row['id'] . \ The processing code is: if (count($del) 0){ for ($i=0;$icount($del);$i++){ $query = DELETE FROM

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Albert Padley
On May 26, 2004, at 11:17 PM, Albert Padley wrote: On May 26, 2004, at 11:16 PM, Curt Zirzow wrote: * Thus wrote Albert Padley ([EMAIL PROTECTED]): input type=\checkbox\ name=\del[]\ value=\ . $row['id'] . \ The processing code is: if (count($del) 0){ for ($i=0;$icount($del);$i++){