Parse error: syntax error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/www.visualdays.com/home/reportfind.php on line 57



linea 57 :


$search2 = new Search($key);
$search2->GetResourcelimit();

penso che il problema sia in questo codice bo

function GetResourcelimit()
{
$this->DbConnectAndSelect();
$sql2 = "SELECT *, MATCH($this->fulltext) AGAINST('$this->key' IN BOOLEAN MODE) AS tot FROM $this->table WHERE MATCH($this->fulltext) AGAINST('$this->key' IN BOOLEAN MODE) and activa='1' order by data desc LIMIT $primo, $per_page";
$this->res = mysql_query($sql2, $this->conn);

}