This idea came from my days as a C programmer back eons ago.
I created a function called OutputDebugString() that takes a string as an argument and writes that string to a mysql table you create in your database (.sql code included).
From there, a seperate module, called from a supplied index.php file, will read the database and display its contents... refreshing every 3 seconds.
This eliminates a need for echo statements peppered throughout your code and mucking up your output. Instead, you can see the results of your work in a seperate tab/window while you are working through your code.
What I need is for a few folks to take a look at it and give me some feedback...
The entire code is attached as a .zip file.