Parse Error: Syntax Error, Unexpected T_if

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Parse Error: Syntax Error, Unexpected T_if

    This is the error i get

    Code:
    Parse error: syntax error, unexpected T_IF in /home/killer/public_html/wincms/index.php on line 267
    and here's line 267

    Code:
    if($user['level']>12){require('apanel/comm.php');}
    Can anyone help me please??

    #2
    this is not the line
    Advertise your mobile site for FREE with AdTwirl

    Comment


      #3
      you missed ; or made any kind of error before this line

      Comment


        #4
        I googled it a bit, and found that when you get unexpected T_IF, the problem can sometimes be a few lines up.
        But anyway, please close this topic, it was my own stupidness!
        Lol it's a russian script, so when i translated it i must have deleted a small bit. I uploaded the original russian index.php and it worked perfectly.

        Thanks for the replies

        Comment

        Working...
        X