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

All 4 Replies

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

Member Avatar for diafol

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.