---
title: "How to delete multiple items using checkboxes in php"  
description: "How to delete multiple items using checkboxes in php"  
author: "pintu nayak"  
published: 2012-03-27  
updated: 2012-03-28  
canonical: https://www.mindstick.com/forum/398/how-to-delete-multiple-items-using-checkboxes-in-php  
category: "php"  
tags: ["php"]  
reading_time: 1 minute  

---

# How to delete multiple items using checkboxes in php

Dear all,\
\
How to [delete](https://www.mindstick.com/forum/33620/how-to-delete-record-from-list-in-mvc-using-ajax) multiple [items](https://www.mindstick.com/forum/33812/getting-number-of-items-selected-in-uicollectionview-in-ios) using checkboxes when selected and then clicking delete [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) in [php](https://www.mindstick.com/articles/12149/php-constant-and-php-variables)\
\
Thanks

## Replies

### Reply by Anonymous User

Hi Pintu,\
\
If you want to delete multiple item's using checkbox which is selected, then firstly you have to retrive all values of checkbox and then by using for loop you can delete those item's from database.\
Following links have information that how to get all checked values of checkbox in php.\
\
[https://www.mindstick.com/forum/399/how-to-insert-multiple-values-selected-in-checkbox-in-database](https://www.mindstick.com/forum/399/how-to-insert-multiple-values-selected-in-checkbox-in-database)\
\
You can check out above link and let me know that your problem has been solved.


---

Original Source: https://www.mindstick.com/forum/398/how-to-delete-multiple-items-using-checkboxes-in-php

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
