ajason + php (error in line 66 of ajax.php)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mukul2k5
Forum Newbie
Posts: 2
Joined: Mon Jul 14, 2008 11:44 pm

ajason + php (error in line 66 of ajax.php)

Post by mukul2k5 »

i am using ajason + php + mysql + java script
my whole site is working fine on local intranet ( i am using wamp5 for this) but as i upload site on internet (on linux server) it starts giving me error. the error is
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/leanmach/public_html/AJASON/php/Ajax.php on line 66

i don't know how to rectify this error

on line 66 of ajax.php is

public function __construct( $options = null )
{
parent::__construct( $options );
}

its a part of class
class Ajax extends AjaxBase
please help me put of this problem
Post Reply