Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parse error:

Status
Not open for further replies.

arm207

Programmer
Jun 13, 2006
26
0
0
US
does anyone know what-

Parse error: parse error, unexpected T_STRING in ...

means?

 
It means that php interpreted got confused at some point and the code stopped making any sense to it. This is usually caused by a missing semi-colon at the end of the line or incorrect use of quotes. Cannot tell you much more based on scarce information you've given us.
 
here's the link its complaining about, not sure why...

" WHERE user_id = \"" . $userID . "\"";
 
Again, the information provided is not enough to answer your question. Where does this quoted part appear in your code? The problem could be originating somewhere else in the code and it's only at this point that php gets confused (what you think is the opening double quote could be understood as a closing double quote by php, if there's a quote mismatch above the code). Please provide more code if you want some help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top