Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SUNN
    New Member
    • May 2011
    • 2

    Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';'

    Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /Users/Sunn/Song/usersong/profile.php on line 113

    This is the line 113
    Code:
    <script src=\"<?=$jspath?>moderate.js?<?=VERHASH?>\" type=\"text/javascript\"></script>
    <? } ?>
    Pls help me to correct this error, thanks alot.
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Looks like an extra equals sign 'src="<?=$jspat h?>'

    Comment

    • SUNN
      New Member
      • May 2011
      • 2

      #3
      I've changed it but it seems doesnt work :(

      Comment

      • JKing
        Recognized Expert Top Contributor
        • Jun 2007
        • 1206

        #4
        Can you post the lines that come before this. Sometimes the error lies above the line stated.

        Comment

        Working...