Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...