[PHP] LogIn check within function within class :: HELP!

2002-12-08 Thread Sean Mayhew
Im just about at wits end here Im trying to verify that a users ID and Password exist in the MySQL Database and then if it does display certain content and if it does not display login form content. ###At present here is the error I'm recieving: Warning: Missing argument 3 for verifylogin() in

[PHP] Class Function Problem

2002-12-10 Thread Sean Mayhew
I have an admin panel that each section contains a set of tools so on each page I can set $toolsneeded = "admin" or $toolsneeded = "employees"; etc. I keep recieving this error: Warning: Division by zero in /home/www/website/admin/include/adminclass.php on line 250 Warning: Variable passed to e

[PHP] Cookies Help

2002-12-12 Thread Sean Mayhew
Ive created a log in that essentially if the username and password are found in the database it displays one section of code and if its not found it display another log in form Im able to log in and my verifylogin() function works because if the username and password are not found it displays the