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:

<input type=\"checkbox\" name=\"dele[]\" value=\"".$sql['entryID']."\">

Now i can select multiple items. But i have tried to delete em, but it
only deletes one item from the database, my query looks like this :
DELETE  FROM gastenboek WHERE entryID=$dele . Can anyone help me. Thanks
for your time.

Best regards,
Davy Obdam,

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to