You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql="update appointment_status set status = status + 1 where date = '".$_POST['date']."' and time = '".$_POST['time']."'";
$sql1="insert into appointment values (".$random.",".$_POST['student'].",'".$_POST['date']."','".$_POST['time']."','".$_POST['reason']."')";
$result = db($sql);
$result1 = db($sql1);
$htmlcode = "Yor appointment has been scheduled for Date: ".$_POST['date']." and Time: ".$_POST['time'].". Your Appointment ID is ".$random.". Please note it down.";