php debugger

php Debugger

php Debugging Made Simple with phpDebugger

phpDebugger is a very simple tool that gives you a far more power than standard echo statements.

It works by using 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... with programmer controled refresh rates.

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.

To install and use this, follow these directions:

1) create the debug table in the database for whichever project you're working on. Please use the include debug.sql file as it will create the table just the way its needed.

2) Include the debuginc.php file in which ever module(s) you are trying to debug. Once included you call OutputDebugString() with what ever information you want posted to the mysql database.

3) Run the debug/index.php page to see the strings pretty much as they are written (about a 3 second delay which you can change).

phpDebugger donate

If you want help with phpDebugger (ONLY), donate. $5 gets you 1 question. $20 gets unlimited support.

phpDebugger - simple php debugging tool

I dont mind sharing my code but I can't answer questions for free.