Category: Web Development

how-to-change-date-format-in-php 1

How to change date format in PHP

In this tutorial we will learn how to chnage the date format in PHP. In this tutorial we will use strtotime() and date() funtion. The strtotime() funtion used to convert an English textual date-time...

How to delete multiple record in PHP 1

How to delete multiple records in PHP

MySQL Table Structure for this tutorial <?php include(‘dbconfig.php’); error_reporting(0); if (isset($_POST[“submit”])) { if (count($_POST[“ids”]) > 0 ) { // Imploding checkbox ids $all = implode(“,”, $_POST[“ids”]); $sql =mysqli_query($con,”DELETE FROM tblusers WHERE id in ($all)”);...