Need Some Help With A T_String in Programming Posted May 29, 2011 · Edited April 6, 2012 by moderator (see edit history) · Report reply 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 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 If you need more or the whole code I will post it. Thanks in advance Dave
Need Some Help With A T_String
in Programming
Posted · Edited by moderator (see edit history) · Report reply
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
This is a part from my code:
I cant see anythink wrong with it...
f you know what did i do wrong please let me know
If you need more or the whole code I will post it.
Thanks in advance
Dave