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

Nessa's Blog:
Common PHP Errors
Dec 10, 2007 @ 18:05:00

Nessa has set up a post in an effort to help budding PHP developers out there with some of the most common problems they might come across in their work and how to handle them a bit more gracefully with error handling:

I'm going back to the basics here, you know, when you wrote your first PHP script and saw an ugly-ass error message pop up on your screen? Error messages are the best tool a programmer has.

She talks about how to set up the error reporting first, making sure that you're getting things up and useful. From there she describes some of the common errors that you might see including:

  • Parse errors
  • MySQL Result source errors
  • Stream errors
  • Max Execution Time errors

Check out the rest of the post for more types.

tagged: error handling parse mysql resource stream execution time error handling parse mysql resource stream execution time

Link:


Trending Topics: