Showing posts with label PHP Debug. Show all posts
Showing posts with label PHP Debug. Show all posts

Tuesday, April 14, 2009

PHP Debug Using TextFiles

The best way to debug PHP application is using textfiles.

$fp=fopen("temp.txt",'a');
fwrite($fp, $sqlCmd . "\n\n");
fclose($fp); // close file