I am getting the syntax error on line 4 "syntax error, unexpected T_STRING, expecting

Discussion in 'PHP' started by nirudyogi, Jan 26, 2011.

  1. #1
    Hi,

    I am getting this error
    syntax error, unexpected T_STRING, expecting T_VARIABLE or '$'
    on Line 4

    Line 4 is :

    global basis. Enter the flashvars like so: <code>autostart: 'yes', bg: 'e5e5e5'</code>. Additional flashvars can be appended on a per file basis by adding a flashvars=&quot;


    Could you please guys...tell me what is the error...how to fix...

    Thanks,
    Nirudyogi
     
    nirudyogi, Jan 26, 2011 IP
  2. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #2
    give me line 1 -> line 10 so I can help you
     
    G3n3s!s, Jan 27, 2011 IP
  3. John Mahoney

    John Mahoney Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I normally refuse to speak up, unless I know for a 'fact' what the issue is. This is my first post though, an I'm feel anxious to get it over with. :p

    If you post the code I can help you, just as the post above me states.

    For Everyone Else
     
    John Mahoney, Jan 27, 2011 IP
  4. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #4
    or those 'yes', 'e5e5e5', based on how is that calling echo ...

    echo 'something 'yes'; <- wrong
    echo "something 'yes'; <- wrong
    echo "something 'yes';"; <- correct
     
    G3n3s!s, Jan 27, 2011 IP