Hi
As soon as I enter this code onto the page it stops working and Dreamweaver shows a syntax error. What am I doing wrong?
PHP Code:
function &showQueries()
{
return "Total Queries: " . $this->queriesRun;
}
$var = &$obj->showQueries();
Its this part that causes the error.
$var = &$obj->showQueries();
I think if this works this example will be very good.
Thanks in advance for your help.
Roy