Student Enrollment Status
if(isset($_POST['submittest'])){
//echo "enert";
$usrnm=$_POST['usrnm'];
$Father=$_POST['Father'];
$dob=$_POST['dob'];
$olddate=date('d/m/Y',strtotime($_POST['dob']));
//echo $olddate;
$sql = "SELECT * FROM AppliedForm WHERE name='".$usrnm."' and (dob='".$dob."' or dob='".$olddate."') and father_name='".$Father."'";
// echo $sql_query; die;
$result = $conn->query($sql);
// echo $query; die;
// $count = mysqli_num_rows($query);
if ($result->num_rows > 0){
while($row = $result->fetch_assoc()) {
echo '';
}
}else{
// echo '
Detail Not Matched. Please Enter Correct Detail
';
echo '';
}
}
?>