Home > Syntax Error > Php Parse Error Syntax Error Unexpected T_echo Expecting T_function

Php Parse Error Syntax Error Unexpected T_echo Expecting T_function

Contents

Please for assistance. Please help! Website: phpio.net // Press F11 to toggle full screen editting (Ctrl+⌘+F on Mac OS). // Press Ctrl+Shift+F to format code. And don't fret. http://iipseconline.com/syntax-error/php-parse-error-syntax-error-unexpected-t-echo-expecting-t-function-in.html

Die Farben des in PHP eingebauten Syntax-Highlighter werden dafür benutzt. Are illegal immigrants more likely to commit crimes? Unnecessary downvote! –James C Apr 26 '11 at 18:01 @Gary The documentation in php.ini suggests against using short tags: "Using short tags should be avoided when developing applications or this peace of code is correct –bensiu Apr 26 '11 at 16:42 That code works fine. http://stackoverflow.com/questions/14707754/parse-error-syntax-error-unexpected-t-echo-expecting-or-in-home-cont

Php Parse Error: Syntax Error, Unexpected 'echo' (t_echo)

unexpected T_ECHO, expecting ',' or ';' Error help Started by slayer__, Oct 03 2010 12:01 PM Please log in to reply 6 replies to this topic #1 slayer__ slayer__ Newbie New help for syntax error, unexpected T_ECHO, expecting ',' or '; Discussion in 'PHP' started by mike2011, Nov 14, 2010. 0 mike2011 Peon Messages: 4 Likes Received: 0 Best Answers: 0 Trophy Go to your php.ini file and remove the ; mark from the beginning of the following line: ;extension=php_curl.dll • Expects parameter 1 to be string; array given in Cause: - This and i'm sure it's that code because i've moved around stuff and the line number changes with my edits.

while ($row = mysql_fetch_array($result, MYSQL_ASSOC)): echo ""; echo "". $row["site_description"] .""; echo "". $row["url"] .""; echo "