PHP Login: Missing argument 2 for valid_credentials()
Posted: Tue Jun 14, 2011 9:14 pm
I'm almost there! Final video this forums bandwidth must love me!
Im about 8mins into the last video and you say to go on the login.php and check there are no syntax errors, but I get this when I try and login:
Im about 8mins into the last video and you say to go on the login.php and check there are no syntax errors, but I get this when I try and login:
From the reading I have done it seems I'm not passing valid_credentials enough arguments? I didn't realise I was passing valid_credentials any arguments until the submit button is pressed? or have I missed the point?Warning: Missing argument 2 for valid_credentials(), called in C:\xampp\htdocs\user_system\login.php on line 14 and defined in C:\xampp\htdocs\user_system\core\inc\user.inc.php on line 12
Notice: Undefined variable: pass in C:\xampp\htdocs\user_system\core\inc\user.inc.php on line 14