• Please Help :
    Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in /public_html/hjkasdf.php on line 101

    This is the Code on Line 101-103 :

    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array($k odetavern,0),'cmd'=>'finish_si');
    $i++;
    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array(11,51,0,0),'cmd'=>'sell_stored_dragon');

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found another thread with the same error and they mentioned checking the above line

    The solution was to check the line before what is mentioned in the error message (in your case, line 168) for errors. In my case, though I had the exact same error message referring to a missing “)”, all I needed was to add a comma at the end of the previous line. No “)” needed at all.

    So you may want to check line 100 and see if it is missing a comma or other syntax

    Thread Starter Mr.Lenz

    (@mrlenz)

    I’m Searching it on Google then i found

    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array($k odetavern,0),'cmd'=>'finish_si');
    $i++;
    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array(11,51,0,0),'cmd'=>'sell_stored_dragon');

    Must Be :

    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array($kodetavern,0),'cmd'=>'finish_si');
    $i++;
    $cmd[]=array('number'=>1,'time'=>time(),'args'=>array(11,51,0,0),'cmd'=>'sell_stored_dragon');

    Problem is on $kodetavern 🙂

    Anyway Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error: syntax error, unexpected T_STRING, expecting ')'’ is closed to new replies.