Parse error: syntax error, unexpected $end Error on one of my sites...

Discussion in 'PHP' started by mattonline, Aug 18, 2008.

  1. #1
    I have a error which i don't know how to fix, if any one can help, that would be great!

    the code on line 21 is

    I've tried to remove it but the same error on the same line shows up :s


    this is the error on line 19


     
    mattonline, Aug 18, 2008 IP
  2. Paris Holley

    Paris Holley Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    unexpected $end usually means u have an open statement, perhaps an if statement..

    ie:

    
    if( 1 == 1 ){
    
    echo 'test';
    
    //}
    
    echo "Oops, i didn't close my brace";
    
    PHP:
     
    Paris Holley, Aug 18, 2008 IP
  3. nice.wallpapers

    nice.wallpapers Active Member

    Messages:
    142
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Hi please send us full coder here or attach file we will tell you what to fix.

    Thanks :)
     
    nice.wallpapers, Aug 18, 2008 IP
  4. mattonline

    mattonline Active Member

    Messages:
    897
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Ok i've uploaded the files

    thanks for any help.
     

    Attached Files:

    mattonline, Aug 18, 2008 IP
  5. mattonline

    mattonline Active Member

    Messages:
    897
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #5
    I ight of sorted it :), i got rid of the errors, that i mentioned, but i have a few errors which i might be able to fix.

    What i did was split the PHP command in half basically, as i thought when it all come together from call funtions on one page it would run smoothly.
     
    mattonline, Aug 18, 2008 IP
  6. mattonline

    mattonline Active Member

    Messages:
    897
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    70
    #6
    The new error now is this

    the code i have in my inc-bans-footer file for this error is

     
    mattonline, Aug 18, 2008 IP