Posted by william.clarke@gmail.com on 06/07/06 22:49
Usually when I'm debugging I 'echo' program flow (eg. "Attempting DB
connection" so I can see at which point my logic has gone astray) and
as many variable values as I think could be causing issues (often
things like the actual query being run are a good place to start, as
others have already suggested).