By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,117 Members | 1,093 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,117 IT Pros & Developers. It's quick & easy.

unexpected T_STRING

P: 1
Hey! Im developing a script, but i dont know much about PHP.

Im getting a Parse error: syntax error, unexpected T_STRING in /home/iphonehe/public_html/data/mf/ns.php on line 53

line 49-55:
Expand|Select|Wrap|Line Numbers
  1. if ($output) 
  2.     echo $output; 
  3. else {
  4.  
  5. echo "That is not a valid record on our database";
  6.  
  7. }
Can anyone help me out on this one?

Also, what is a T_STRING anyways?
Mar 27 '12 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
Also, what is a T_STRING anyways?
that’s a string concatenation/placement error.
Mar 28 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.