how to stop bank entry in php mysql server database
if($name!="" && $email!=""){
$sql="insert into info(name,email)values('".$name."','".$email."')";
$query=mysqli_query($conn,$sql);
}else{
echo "All field are required";
}