All Posts For: February, 2006

Feb 20 2006

Simple Debugging in PEAR::DB

One of the most important (and least loved) activities in a programmer’s life is debugging code. When debugging PHP, there are several strategies, ranging from strategic use of print_r to elaborate systems that send debugging information to specific debug tables in a database.

In this article, we look at a simple tip for finding errors in SQL code when using PEAR::DB.

If you would like to learn more about PHP PEAR modules, DB is just one of the modules covered in depth in the PHP 5 Bootcamp.