$mobile = $_POST['phnnum'];
$address = $_POST['address'];
$update = "UPDATE student SET name='$name', mobile='$phnnum',
address='$address' WHERE id=" . $_GET['id'];
$up = mysqli_query($connection, $update);
if (!isset($result)) {
die("Error $result" . mysqli_connect_error());
} else {
header("location: registeredstudents.php");
}
}
?>
☝️
Обсуждают сегодня