Hi. I wanted to use the code alex wrote for my login on my homepage. as i pasted the code in the proper place and refreshed my pade it gives me an error in the sign on box.
[php]
"; else { //find username $find = mysql_query("SELECT * FROM phpbb_users WHERE username_clean='$username'"); if (mysql_num_rows($find)==0) echo "Username not found
"; else { while ($find_row = mysql_fetch_assoc($find)) { // grab password hash for user $password_hash = $find_row['user_password']; } $check = phpbb_check_hash($password, $password_hash); if ($check==FALSE) echo "Incorrect password
"; else if ($check==TRUE) { $_SESSION['username']=$username; header("Location: main.php"); exit(); } } } } ?>[/php]
it displays that. Im not all to sure what this means exactly but i hope someone here can help me. i am a novice lol
thanx in advance.
http://phpacademy.info/forum/viewtopic.php?f=26&t=856
