A
Anonymous
Guest
Hello all!
I am using the sams each yourself php book and I am looking at the chapter "Restricting access to your applications" - listing 15.8 user login script.
I have typed out the code but I get this error
If you need the code give me a shout!
Thanks!
I am using the sams each yourself php book and I am looking at the chapter "Restricting access to your applications" - listing 15.8 user login script.
I have typed out the code but I get this error
Code:
Notice: Use of undefined constant username - assumed 'username' in c:\easyphp1-7\www\gym-tv\access levels\listing15.8.php on line 3
Notice: Use of undefined constant password - assumed 'password' in c:\easyphp1-7\www\gym-tv\access levels\listing15.8.php on line 3
Warning: mysql_connect(): Access denied for user: 'gymtvdb@localhost' (Using password: YES) in c:\easyphp1-7\www\gym-tv\access levels\listing15.8.php on line 9
Access denied for user: 'gymtvdb@localhost' (Using password: YES)
If you need the code give me a shout!
Thanks!