hey ... how can i delete multiple raws in a table at once using check box.. i mean if i want to delete all data i can select all check boxes and click delete button.. plz help me..

Recommended Answers

Here's a general js solution. You'll probably find a neater jQuery solution though:


Jump to Post

All 4 Replies

i need to select multipple check boxes at clicking on 1 check box..

Member Avatar

Use javascript.

// grab your checkbox data

mysql_query('DELETE FROM table WHERE column="'.$checkbox.'"');
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.