i am a beginner, help me solve this prob, please.. thank before

Discussion in 'PHP' started by syo13, May 22, 2008.

  1. #1
    Parse error: syntax error, unexpected $end in C:\..\..\xx.php on line 259
    (259 is the last line of the script)
    and there is nothing (i mean that line after </html>)

    how to solve this problem?

    thank before :)
     
    syo13, May 22, 2008 IP
  2. samindika

    samindika Active Member

    Messages:
    336
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    put your php code also.
     
    samindika, May 23, 2008 IP
  3. ggggqqqqihc

    ggggqqqqihc Peon

    Messages:
    92
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Maybe you forgot '}'
     
    ggggqqqqihc, May 23, 2008 IP
  4. lanmonkey

    lanmonkey Active Member

    Messages:
    549
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Yeah this is almost certainly the case

    Make sure that for every "{" there is a corresponding "}"
     
    lanmonkey, May 23, 2008 IP
  5. elias_sorensen

    elias_sorensen Well-Known Member

    Messages:
    852
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #5
    I think you have forgotten a ?> to close your php code :)
     
    elias_sorensen, May 23, 2008 IP
  6. biobrain

    biobrain Peon

    Messages:
    106
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If possible put your PHP code
     
    biobrain, May 23, 2008 IP
  7. syo13

    syo13 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yup, i missed one '}' in the end of if condition.. thx a lot for all of you.. :) hehe..
     
    syo13, May 26, 2008 IP