First off, cookie documentation:
http://www.php.net/manual/en/function.setcookie.php
Second, since you store your info in the DB, it might be easier and more
scalable to use a "$user" object which contains everything about the user:
userID, username, email, etc. for quick reference:
$user = m
Hi everyone,
I created a login on my page that handles with a session. I also would like
to add a cookie so that people don't have to sign in every time they visit
my page, but I have no clue how to create it. Is there anyone out there
willing to help?
my login script: