Friends, This is the 3rd video in the series...
You can access the Playlist from here: https://www.youtube.com/watch?v=viT63w0bjI4&list=PLob02JWIF-L2uPqOpay-81aDZ-7MAeRYZ
if ($someothererror){
echo "you can also put it in comments";
echo "write to me on '[email protected]'";
echo "LIKE, SHARE AND SUBSCRIBE";
}
else{
echo "LIKE, SHARE AND SUBSCRIBE";
}
exit();
Giving the code which I have promised in the video:
1.
$message = "You are logged in successfully! Taking to Add Patients page!";
echo "script language='javascript'";
echo "alert('".$message."');";
echo "window.location = 'http://localhost/HospitalProject/addpatients.php?usrname=".$username."&psw=".$psw."';";
echo '/script';
(well you need to Follow the Html code... I am not allowed to put Angular blackets...)
2.
$sql = "SELECT * FROM `users` WHERE name = '$username';";
$result = mysqli_query($conn, $sql);
Download
0 formats
No download links available.
MAKING SIGNIN.PHP FILE [ PHP LONG PROJECT VIDEO - 3 ] | NatokHD