I would like to redirect users as and when click "OK" in the alert box. Any hints will be appreciated
if( $num_rows == 0 ) {
// No results returned
echo "No results!";
} else {
$message = "Information already sent";
echo "<script type='text/javascript'>alert('$message');</script>";
}