Answers for "php crud delete"

PHP
0

delete in crud 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
0

delete in crud php

<button class="btn" type="submit" name="save" >Save</button>
Posted by: Guest on January-24-2021

Browse Popular Code Answers by Language