Pupeno wrote:
$oer = error_reporting(E_ALL & ~E_NOTICE);
$tpl->display("index.html");
error_reporting($oer);
but it still reports notices, any idea ?
Should be error_reporting (E_ALL ^ E_NOTICE);
See: http://www.php.net/manual/en/function.error-reporting.php Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

