RE: [PHP] Deleting multiple items from database using checkboxes

2002-10-07 Thread John W. Holmes
ql_query($sql); } might want to add in a is_array() somewhere in there... ---John Holmes... > -Original Message- > From: Ing. Raúl González Rodríguez [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 4:48 PM > To: Php Mailinglist; Php-Windows Mailing > Subject:

Re: [PHP] Deleting multiple items from database using checkboxes

2002-10-07 Thread Ing. Raúl González Rodríguez
ailing" <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 4:05 PM Subject: [PHP] Deleting multiple items from database using checkboxes > Hi people,. > > I have a guestbook admin page were i would like to delete one item or > more items from the database if necessary. I ha

Re: [PHP] Deleting multiple items from database using checkboxes

2002-10-07 Thread Marco Tabini
Try WHERE EntryID IN (" . implode ($dele, ',') . ")" However: 1) Anybody could fake a form post or query url to delete any data in your database 2) It would also be possible to create a more dangerous post that could give the attacker control over your entire database Thus, I assume that you wi

[PHP] Deleting multiple items from database using checkboxes

2002-10-07 Thread Davy Obdam
Hi people,. I have a guestbook admin page were i would like to delete one item or more items from the database if necessary. I have modified my normal guestbookpage so that it has checkboxes in front of every entry. This is my code: Now i can select multiple items. But i have tried to delete e