Hi, im a total newbie to php/mysql i was wondering if any of you had any login scripts with a few simple functions so i could look and try and understand how things work i tryed looking at other sites trying to teach how php works(webmonkey being one) and it just confuses me to be honest.. thanks in advance
~NewFate~
here is something really really simple..
$user = 'bob'; $pass = 'abc'; if($_POST['username'] == $user && $_POST['password'] == $pass) { echo 'Login successfull'; } else { echo 'Incorrect username or password'; }