fagan Posted March 29, 2007 Posted March 29, 2007 i have tried to use my forgot password and it says Parse error: syntax error, unexpected $end in /home/nwcrimes/public_html/forgot_password.php on line 22 can anyone give me help please Quote
fagan Posted March 29, 2007 Author Posted March 29, 2007 Re: forgot password.php help here is the code <?php require_once ('./includes/config.inc.php'); $page_title = 'Forget Your Password'; include ('header.php'); if (isset($_POST['submitted'])) { // Handle the form. require_once ('mysql.php'); // Connect to the Database. if (empty($POST['email'])) { // Validate the email address. $uid = FALSE; echo ' <font color="red" size="+1">You forget to enter your email address!</font></p>'; } else { // Check for the existence of that email address. $query = "SELECT $userid FROM users WHERE email='". escape_data($_POST['email']) . "'"; $result = mysql_query Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.