@flash4real Here is my code regarding to the question that I've asked to you. Can you kindly check it and tell me my errors? Thank you. I removed the angle brackets. form action="" method="post" Last Name: input type="text" name="lastname" First Name: input type="text" name="firstname" input type="submit" value="Send" My php code: $Fname=$_POST['firstname']; $Lname=$_POST['lastname']; If (($Fname=="")&&($Lname=="")) echo "Fill up the required fields."; else echo "All fields are filled."; /form
@flash4real What if I don't want to go in another page if one of the username or password input is incorrect? How can I do it? Thank you very much for your tutorials :)
This has been flagged as spam show
143Alizon 3 weeks ago
Comment removed
143Alizon 3 weeks ago
@flash4real What if I don't want to go in another page if one of the username or password input is incorrect? How can I do it? Thank you very much for your tutorials :)
143Alizon 1 month ago
@143Alizon Set the action to "" and put the PHP code on the page itself within an if($POST) block
flash4real 1 month ago
Hi stefan =) love your voice..... WE LOVE YOU!!!
Jakeisherenow94 1 year ago
Why so much spaces :P?
CrazyMongols 2 years ago
I haven't finished your tutorials yet, in case you have already covered this. But how would you add multiple users to a login page such as this?
StratCat1204 2 years ago