9999999999){ echo ""; echo ""; $flag=1; } if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo ""; echo ""; $flag=1; } if($flag==0) { $qry = "insert INTO login values('$mob','$email','$pss','$type','$state',CURRENT_DATE())"; $op = mysqli_query($conn,$qry); if($op>0) { echo ""; echo ""; if($type=="CIVIL") { $query = "INSERT INTO masterCIVIL(MobileNo,Email) VALUES('$mob', '$email')"; $ope = mysqli_query($conn,$query); } if($type=="EEE") { $query = "insert into masterEEE(MobileNo, Email) VALUES('$mob', '$email')"; $ope = mysqli_query($conn,$query); } } else { echo ""; echo ""; } } } ?>