Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevArticles:
Finding the Bugs
Nov 29, 2002 @ 13:48:31

New to PHP and still trying to figure out what all of those cryptic error messages really mean? Why can't they just say what line they're really on instead of ten lines down? PHP errors can be some of the most confusing out there at times, but a new article from DevArticles can (hopefully) help you out.

The article, Combating Coding Errors talks generally about coding problems that might arise during your sessions, with specific examples in PHP. He starts off with the four most common types of errors in code, and moves on to some of the specific error messages and shows you how to use the error_reporting() function to get more results.

It's a short, but helpful article, especially for those just starting out with PHP and having a hard time understanding those errors they keep getting. Don't worry - it does get easier over time to find the mistake. You just have to be patient - all programming takes patience.

tagged:

Link:


Trending Topics: