Jump to content

Deleting from database by checking multiple checkboxes


sparky753

Recommended Posts

I have a PHP web form that pulls records from a database table. Based on the data in the table, the records are displayed with checkboxes that have a value that is equal to the record's ID.

 

To handle this form submission, how do i detect which checkboxes have been checked? If this was a static form, I could handle it based on the name of the field but since the checkbox values are not static, how do i check for all the checked boxes on submission?

 

Thanks....

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.