Please Help! Parse error: syntax error, unexpected T_STRING, expecting ')

Discussion in 'PHP' started by LearnEverything, Feb 2, 2011.

  1. #1
    Hello I am a total newbie to a few things, PHP is one of them. I was trying to make edits on my wordpress template and messed up line 89. Can anyone help me out and tell me what I am doing wrong?

    array( "type" => "close"),

    array( "name" => "125 x 125 banner Settings",
    "type" => "text"),
    "desc" => "Enter your 125 x 125 banner image url here.", </> </a>",
    ),

    array("type" => "open"),

    array("name" => "Banner-1 Image",
    "desc" => "Enter your 125 x 125 banner image url here.",
    "id" => $shortname."_banner1",
    "std" => "http://bit.ly/9CE5WS",
    "type" => "text"),
     
    LearnEverything, Feb 2, 2011 IP
  2. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #2
    array( "type" => "close"),

    array( "name" => "125 x 125 banner Settings",
    "type" => "text"),
    "desc" => "Enter your 125 x 125 banner image url here.", </> </a>",
    ),

    array("type" => "open"),

    array("name" => "Banner-1 Image",
    "desc" => "Enter your 125 x 125 banner image url here.",
    "id" => $shortname."_banner1",
    "std" => "http://bit.ly/9CE5WS",
    "type" => "text"),[/QUOTE]
    last array should have ; at the end. Copy here your WHOLE array please
     
    G3n3s!s, Feb 2, 2011 IP
  3. LearnEverything

    LearnEverything Greenhorn

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Thanks for your help!
     
    LearnEverything, Feb 2, 2011 IP