prcollin Posted July 11, 2007 Share Posted July 11, 2007 Parse error: syntax error, unexpected T_VARIABLE no clue what is wrong this is what is written $servername = "localhost"; and I keep getting that error for that line i also tried $host = "localhost"; Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 11, 2007 Share Posted July 11, 2007 Can you show the error message in full? Chances are the error could be caused by the previous line - it's always worth checking. Quote Link to comment Share on other sites More sharing options...
prcollin Posted July 11, 2007 Author Share Posted July 11, 2007 Can you show the error message in full? Chances are the error could be caused by the previous line - it's always worth checking. that is the error in whole except it says LINE 2 at the end Quote Link to comment Share on other sites More sharing options...
metrostars Posted July 11, 2007 Share Posted July 11, 2007 copy the line(s) above that into here. Quote Link to comment Share on other sites More sharing options...
per1os Posted July 11, 2007 Share Posted July 11, 2007 Can you show the error message in full? Chances are the error could be caused by the previous line - it's always worth checking. that is the error in whole except it says LINE 2 at the end Like that helps us. Parse errors usually come from the lines above. Post some code man. Quote Link to comment Share on other sites More sharing options...
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.