Could someone tell me what is wrong with this code? I’m not very good with PHP and I know that for some reason the the submit button is not passing the information on to the $submit varible. I get the error on the page:
Notice: Undefined variable: submit in D:Program FilesAbyss Web Serverhtdocsphpinvitelogin.php on line 16.
Line 16 is this line in the code
if ($submit) {
Also what would be the correct syntax to put at the end of this code to get the page to display an error if the user inputs an incorrect password or username?
else ( echo "The user name and/or password is incorrect" )
Is that correct?
here’s the actual script
[code]
AccountID: | |
Password: | |
I am greatfull for any help that can point me in the right direction.