hi all,
include ("try1.php"); in file is giving me fallowing errors:
Parse error: parse error, unexpected '(', expecting '{' in C:\Program Files\Apache Group\Apache2\htdocs\test\try1.obj on line 3
Warning: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\test\try1.obj:3) in C:\Program Files\Apache Group\Apache2\htdocs\test\DesmacSlips.php on line 12
and try1.php file:
<?
class try1()
{
var $task;
var $client;
function setclient($temp)
{
$this->$client = $temp;
}
function settask($temp)
{
$this->$task = $task;
}
function getclient()
{
return $this->$client;
}
function gettask()
{
return $this->$task;
}
}
?>
Can anybody help to see what is happening here.I can't get to the problem to solve it.
thanks in advance
parth