Remember me if state ment....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Raven-flock
Forum Newbie
Posts: 24
Joined: Tue Apr 12, 2005 2:02 pm

Remember me if state ment....

Post by Raven-flock »

Can someone help me i am making a login script.. and i cant seem to make a if statement work... here is what i have for the remember me part...
echo "Remember me: <input type=\"checkbox\" name=\"rememberme\"><br />";

Thank you
Raven-Flock
Jim_Bo
Forum Contributor
Posts: 390
Joined: Sat Oct 02, 2004 3:04 pm

Post by Jim_Bo »

Hi,

Got some code?

Why are you using echo anyway?

Jim
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

i guess you want a

Code: Select all

if ($_POST['rememberme'])
{
    //set cookie and stupid stuff
}
theres your if statement
Post Reply