Re: [PHP] php and checkboxes.

2003-09-29 Thread CPT John W. Holmes
From: "Angelo Zanetti" <[EMAIL PROTECTED]> > I dont actually want to delete the record from the database, perhaps I wasnt > very clear in my explanation, but I just need to remove that entry from the > table. > > kinda like when deleting mail from your web email account like hotmail. Same idea...

Re: [PHP] php and checkboxes.

2003-09-29 Thread Eugene Lee
On Mon, Sep 29, 2003 at 01:43:08PM +0200, Angelo Zanetti wrote: : : Marek Kilimajer suggested: : > : > Angelo Zanetti wrote: : > > : > > I have a table that is populated from a database which gets the : > > IDs of the records from a php array.Every row in the table has a : > > checkbox next to the

RE: [PHP] php and checkboxes.

2003-09-29 Thread Angelo Zanetti
[mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 1:36 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and checkboxes. Simple: foreach($_POST['del_checkboxes'] as $id) { $sql="delete from table where id='$id'"; } Checkboxes are

Re: [PHP] php and checkboxes.

2003-09-29 Thread Marek Kilimajer
Simple: foreach($_POST['del_checkboxes'] as $id) { $sql="delete from table where id='$id'"; } Checkboxes are created using Angelo Zanetti wrote: Hi all I have a table that is populated from a database which gets the IDs of the records from a php array.Every row in the table has a checkbo

Re: [PHP] php and checkboxes

2003-09-23 Thread Robert Cummings
On Tue, 2003-09-23 at 08:17, Angelo Zanetti wrote: > Hi all, > > I have a table that gets populated from records of a DB. every row in the > table has a checkbox and the items desc. I want the user to select the items > they want and then they click on a link which registers the items they've > se