unexpected T_STRING

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pedroslopez
    New Member
    • Jan 2012
    • 1

    unexpected T_STRING

    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:
    Code:
    if ($output) 
    	echo $output; 
    else {
    
    echo "That is not a valid record on our database";
    
    }
    Can anyone help me out on this one?

    Also, what is a T_STRING anyways?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Also, what is a T_STRING anyways?
    that’s a string concatenation/placement error.

    Comment

    Working...