About 6,970,000 results
Open links in new tab
  1. Update Checkbox Value Using PHP & MySQL - Stack Overflow

    Aug 11, 2014 · $arr = array(1,2,3,4,5,6); $arrNames = array('My Account', 'Edit Account', 'Change Password', 'List of users', 'Define roles', 'Assign Roles'); foreach($arr as $val) { $set_checked = ""; if(in_array($val, $permid_array)) { $set_checked = "checked"; } echo '<input type="checkbox" class="chk_boxes1" name="perm[]" value="$val" '.$set_checked ...

  2. Update Multiple Rows in PHP/MySQL with Checkbox

    Jun 24, 2016 · A step-by-step tutorial with snippets on how to update multiple rows using the checkbox in PHP and MySQL for Beginners with working source code free to download.

  3. Editing checkboxes data in php and updating the rows in mysql

    Sep 20, 2013 · Say I check Checkbox 2 and Checkbox 4 and click submit. To save I loop through the checkbox_array[] as below, in the controller. This saves the data in the db as: Using the same view, I intend to edit the data saved.

  4. Multiple Checkbox Value Add, Edit, Delete using PHP PDO …

    Jan 2, 2019 · This tutorial provides you to code Multiple Checkbox Value Add Edit and Delete with MySQL using PHP PDO. Most beginner learners meet this query of how multiple checkbox values can be saved and updated into a single row or column of the database table.

  5. CRUD operations with checkbox using PHP and MySQL.

    In our previous tutorials, we have performed a simple operation to get values of multiple checked checkboxes using PHP. In this blog post, we are going to demonstrate an example of CRUD (create, read, update and delete) operations with checkboxes using PHP and MySql.

  6. Update/Delete Multiple Rows using PHP - Phppot

    Jul 14, 2022 · For selecting multiple rows, we are going to use checkbox input for submitting selected rows reference. We can get selected checkbox values via jQuery AJAX post or by accessing the form from PHP after page refresh. While implementing multiple rows update or delete, we need to follow some steps.

  7. Checkbox value or data updating to & from table record - Plus2net

    Check box can be linked to records in a database table. This way we can keep the checkbox status checked or not based on the data we receive from the table. We can also read the checkbox status and update the same based on changes. Let …

  8. How to UPDATE Multiple Selected Checkbox Values in the Database in PHP

    Dec 30, 2021 · Today we see how to update multiple selected checkbox values in a database in PHP, before that you should insert multiple values and if you don’t know how to insert multiple values then I have explained in the previous blog how to do it Is.

  9. Update multiple rows in MySQL with checkboxes

    A useful method to select all checkboxes and the ability to update MySQL records with PHP. First we create a MySQL database, next we create the update page with the checkboxes and add the PHP code to make the update possible.

  10. Inserting Multiple Checkbox Values into a Database Using PHP

    Aug 16, 2023 · In this article, we will learn how to store multiple checkbox selections from an HTML form into a MySQL database using PHP. Follow this complete article to understand the process, including creating the database table, writing PHP …

  11. Some results have been removed
Refresh