Well I'm back again about ready to toss my system out the window 😃 . For about the past 4 hours, I've been trying to find a way to delete 1 or more entries from my database from the website. Here's the idea:
Webpage displays a list from my database. Each entry has a checkbox that I've named "delete" w/a value of 1 if checked. All the user simply has to do is check the boxes of the entries they want to delete, click the submit button (name="deletebutton").
This will take them to another page which interprets the form element (the check boxes) which oughta initiate the
DELETE FROM 'table' WHERE $delete ='1'
Now the problem I'm running into is that the above code isn't descriptive enough? Instead of deleting just the entries that were checked (making them value=1), it deletes ALL the entries. And I for the life of me can't figure out how to make it delete just the checked entries!
Anyway, I'm around if you don't understand something that I'm attempting. I can show anyone the test scripts if they'd like.
-Dave