how to delete multiple records using checkbox in PHP & MySQL

preview_player
Показать описание
this video is about how you can delete multiple records from the database using a checkbox with PHP.
This video may be helpful to you if you are making any web application.
you will learn to delete multiple records in PHP using the checkbox or selected checkbox.
Source code download
Рекомендации по теме
Комментарии
Автор

Even after 3 years its the best explanation what I have found if we talk about clean php without JS. Simply make array of checkboxes then in cycle delete each of them one by one. Simple things can be difficult some time, also smart people can create dumbest situations. Felt myself dumb now I feel myself smarter.

vladislavs
Автор

Thank you, I was really looking for a bare-bones and simple tutorial.

chaoticsoap
Автор

Can you teach that in product add form user can select morethan one image and show one image as a main image and below use the delete button and with checkbox for delete that image..

paulbrown
Автор

Instead of delete row if we want to insert a selected row record having table dynamically fetched from database.help me please !

techsignals
Автор

Thank for sharing this video. Instead of Delete button and deleting row, if we want to update the null column of a row using dropdown after selecting multiple checkboxes, how can we do that? Dropdown list and submit instead of delete button ?

jayminpatel
Автор

It is possible to replace the query instead of delete, into insert? To insert multiple selected checkbox in one click into the database?

dumdcode
Автор

Great video :). Please I would like to know how you can add a modal displaying selected checkbox values so user can do a final confirmation? Thanks

STPHN
Автор

Can we update the multiple row on single update button in php ?

ISOnepal
Автор

it is working now . but if I want to delete the last item i get undefined array records

ayowaleojo
Автор

please im getting a error that says (Undefined array key "records")

ayowaleojo
Автор

Mine doesn't work. Whenever I click the button, it doesn't show the number of records (count).

noctiscaelum
Автор

Can you tell me the code of delete-multiple.php file?

marketaffairs
Автор

And how to add again ...records plz.making video on it

ktt
Автор

Link for Source code not work please give me new link

technologyworld