AdamCCFC Posted January 22, 2010 Share Posted January 22, 2010 Hey, I'm receiving a parse error on line 50! Here's the error message - Parse error: syntax error, unexpected '{', expecting ',' or ';' in C:\xampp\htdocs\mydreamz\comments.php on line 50 Here's line 50 echo "<TR><TD><a href="{$_SERVER['PHP_SELF']}"?action=show&id="{$row['dream_id']}">'Comments'"($comment_row[0])"</TD></TR>"; Can anyone show me where I'm going wrong? Thanks in advanced, Adam Link to comment https://forums.phpfreaks.com/topic/189447-help-me-with-a-line-of-code-please/ Share on other sites More sharing options...
MadTechie Posted January 22, 2010 Share Posted January 22, 2010 you need to escape the quotes ie \" echo "<TR><TD><a href=\"{$_SERVER['PHP_SELF']}\"?action=show&id=\"{$row['dream_id']}\">'Comments'\"($comment_row[0])\"</TD></TR>"; Link to comment https://forums.phpfreaks.com/topic/189447-help-me-with-a-line-of-code-please/#findComment-999987 Share on other sites More sharing options...
AdamCCFC Posted January 22, 2010 Author Share Posted January 22, 2010 Thanks mann that worked Link to comment https://forums.phpfreaks.com/topic/189447-help-me-with-a-line-of-code-please/#findComment-999988 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.