[SOLVED] difficulty with html checkboxes.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
boo_lolly
Forum Contributor
Posts: 154
Joined: Tue Nov 14, 2006 5:04 pm

[SOLVED] difficulty with html checkboxes.

Post by boo_lolly »

here's the deal, i am populating an HTML table with a loop of some kind. the information is being pulled from a SQL table. each row in this HTML table (and SQL table for that matter) is a product item. it has it's own category and sub-category. each item in the entire SQL table, has a unique (randomly generated) identification number 30 characters in length. what i am trying to do, is delete the items in the SQL that are 'checked' off when the user presses delete. i have another page where this works beautifully... i copy and pasted the code, made some minor modifications, debugged, and it STILL doesn't work. in fact, this is weird... when i click 'delete', the values of all the checked boxes (unique IDs) are being sent to the address bar... but it doesn't do this on the page that works... does this help diagnose the problem??? i really need some assistance here. if there is not enough information please let me know.

here's my code

Code: Select all

//some code
Last edited by boo_lolly on Tue Dec 05, 2006 11:32 am, edited 3 times in total.
User avatar
boo_lolly
Forum Contributor
Posts: 154
Joined: Tue Nov 14, 2006 5:04 pm

Post by boo_lolly »

nevermind... i found it... the delete <form> wasn't set to "post"
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

I've done that before. :P
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply