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
if($conn->query("Delete from c$class where Etype=$exam and Subject=$subject and uid in (select uid from Names where class=$class and sec='$sec')")===false)
{
die("Error");
}
$jdata=json_decode($jsondata);
$stmt=$conn->prepare("insert into c$class values (?,$exam,$subject,?,$tuid)");