Jump to content
xisto Community

dave0305

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by dave0305


  1. Hello

     

    I'm a beginner setting up a login for my site...

     

    When i try and log in... the following message comes up:

    Parse error: syntax error, unexpected T_STRING in C:xampphtdocschecklogin.php on line 25

     

    It took me ages to write those codes, so I really want to get it to work Posted Image

     

    This is a part from my code:

     

    if($count==1)  {   session_register("myusername");   session_register("mypassword");   header("location:login_success.php);   }   else  {	   echo "Wrong Username or Password";	 thats 25th line...	   }

    I cant see anythink wrong with it...

     

    f you know what did i do wrong please let me know Posted Image

    If you need more or the whole code I will post it.

     

     

    Thanks in advance

     

    Dave

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.