Get $15 via paypal for helping with small php error.

Discussion in 'Programming' started by nitrogen77, Jan 2, 2009.

  1. #1
    I get the following error...

    Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/xxxx/public_html/xxx/config.php on line 16

    now the line "16" is this one...

    $keyword_list = array(Scuba Diving,);

    If the keyword is just one word, instead of 2 words, it seems to work... but with one word it doesn't work.

    Please pm and i will send you the URL with the original script.
    Once it is solved, please post Solved so I can pay to the first one to fix it.
     
    nitrogen77, Jan 2, 2009 IP
  2. matessim

    matessim Active Member

    Messages:
    514
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    add a , between each word, that should work i think.

    if you feel like paying me, ill be glad :p
    if not, ill be sad but its ok too :p

    edit:
    if this doesn't work
    Do a "" qouta on the words, i think the problem is it just boggles with the start and end with space, to declare its one piece at start " and at end "

    if this works i really can use the 15 bucks :p
     
    matessim, Jan 2, 2009 IP
  3. nitrogen77

    nitrogen77 Active Member

    Messages:
    1,276
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    62.5% - 10
    #3
    Sorry but it doesn't work that way.
    someone already send me the php solution.

    offer closed.
     
    nitrogen77, Jan 2, 2009 IP
  4. matessim

    matessim Active Member

    Messages:
    514
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Right... you can just say you don't wanna pay me.
     
    matessim, Jan 2, 2009 IP
  5. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    As Seller:
    100% - 3
    As Buyer:
    100% - 0
    #5
    SOLVED, pmed my paypal
     
    crivion, Jan 2, 2009 IP