Re[2]: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Tom Rogers
Hi, Thursday, May 27, 2004, 3:07:28 PM, you wrote: AP> 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 for

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]): The processing code is: if (count($del) > 0){ for ($i=0;$iI think you need to take a step back and figure out where the $del variable is commi

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]): The processing code is: if (count($del) > 0){ for ($i=0;$iI think you need to take a step back and figure out where the $del variable is comming from. Both solutions that have been provided sho

Re: [PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Curt Zirzow
* Thus wrote Albert Padley ([EMAIL PROTECTED]): > > > > The processing code is: > > if (count($del) > 0){ > for ($i=0;$i > $query = "DELETE FROM ref_events_reg WHERE id = '$del[$i]'"; > } > } I think you need to take a step back and figure out where the $del variable

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 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: The processin

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: The processing code is: if (count($del) > 0){ for ($i=0;$i

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> AP> The pro

[PHP] Delete Multiple Records From Checkboxes

2004-05-26 Thread Albert Padley
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: The processing code is: if (count($del) > 0){ for ($i=0;$i Echoing the quer