Posts by Joao Carlos Holland Barcellos • 21 points
1 post
-
2
votes9
answers30430
viewsA: How to debug code in PHP?
Place this line at the point you want to debug: echo "TRACE at:".__FILE__.":".__LINE__.":<br\><pre>". debug_string_backtrace()."</pre>"; exit;