Answers for "deleting a row from databse using php"

PHP
0

deleting a row from databse using php

if (isset($_GET['del'])) {
	$id = $_GET['del'];
	mysqli_query($db, "DELETE FROM info WHERE id=$id");
	$_SESSION['message'] = "Address deleted!"; 
	header('location: index.php');
}
Posted by: Guest on January-24-2021

Code answers related to "deleting a row from databse using php"

Browse Popular Code Answers by Language