|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Deleting multiple rows from MySQL table
Hey
![]() Im trying to make an Admin form that deletes records from a MySQL table. I made one that deletes the records one at a time, but I want one that can submit off about 20 deletes by clicking Submit just once. Ive tried to do this using check boxes, but it doesnt work, it only deletes one again. How can I delete more than one row at a time? Thanks! |
|
#2
|
|||
|
|||
|
Deleting multiple rows from MySQL table
in your submit button make a loop that deletes the checked rows...
![]() |
|
#3
|
|||
|
|||
|
But won't that delete the unchecked ones aswell?
Quote:
|
|
#4
|
||||
|
||||
|
What language are you using to code your form?
I think this is more of a programming problem, than a MySQL Database problem. |
|
#5
|
|||
|
|||
|
The form is in HTML, the processing is in PHP, but I thought maybe their was a MySQL query that could update multiple rows?
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Deleting multiple rows from MySQL table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|