<snip>... // check passwords match $_POST['password'] = stripslashes($_POST['password']); $info['password'] = stripslashes($info['password']); $_POST['password'] = $_POST['password']; if ($_POST['password'] != $info['password']) { die('Incorrect password, please try again.'); } <snip>... Alex, Sticking for the moment with the error message you get, I can't see anyplace where an array named "$info" with a key of "password" is declared or assigned this value. Are you sure that this variable exists? David -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php