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
Raven-flock
Forum Newbie
Posts: 24 Joined: Tue Apr 12, 2005 2:02 pm
Post
by Raven-flock » Mon May 02, 2005 2:43 am
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 » Mon May 02, 2005 4:22 am
Hi,
Got some code?
Why are you using echo anyway?
Jim
shiznatix
DevNet Master
Posts: 2745 Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:
Post
by shiznatix » Mon May 02, 2005 9:47 am
i guess you want a
Code: Select all
if ($_POST['rememberme'])
{
//set cookie and stupid stuff
}
theres your if statement