PHPTrace Wiki
Brought to you by:
eufcrm
1) include the file in the main page(usually index.php)
Ex: include_once("debug.php") - if the main page is in project root directory
That's all for Run time error display
2) call function trace with following parameters
Parmeter 1) message
Parameter 2) number of time the display has to be ignored - it will be useful when using it in loop. if you want to display error at 6th loop, then use trace($message,6). It will show the message when the loop enters 6th cycle.