Jump to content
xisto Community
Sign in to follow this  
dave0305

Need Some Help With A T_String

Recommended Posts

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

Edited by moderator (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • 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.