PHP Login 11-21-2013, 04:58 AM
#2
Code:
<?php
echo 'Account ID:';
echo '<input type="text" name="user">';
echo 'Password:';
echo '<input type="text" name="pass">';
if(user == 'username' && pass == "password") {
echo 'You have successfully logged in'
} else {
echo 'Incorrect sign in info'
}
?>I thought this was right but I keep getting an error (specifically on line 9).
If anyone can help please do.
Thanks! :epic:
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)