WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Making Sense Of PHP Errors
Categories : PHP, Errors and Logging
devarticles
devarticles
Date : 2003-04-21
Grade : 0 of 5 (graded 0 times)
Viewed : 3502
Search : More Articles by devarticles
Action : Grade This Article
Tools : My Favotite Articles


Submit your own code examples 
 


Introduction

All of us -- no matter how careful we are when programming -- make errors and confuse the PHP interpreter. But when a developer can't even decipher what the interpreter is reporting to him or her, it becomes useless, and often frustrating.

PHP does its best to report the first problem it encounters when interpreting your PHP script. The only problem with this is that it won't recognize your mistake until something unexpected happens (more on this later in the article). Because of this, the interpreter reports mistakes on lines that have seemingly perfect syntax, or lines that may not even exist!

Learning more about what errors mean and imply can save you hours trying to figure out what your mistake is, and in this article I will attempt to shed some light on several different types of PHP errors and how to make sense of them during your development time.

In this article I will assume that you're using any version of PHP, as the errors described in this article are not specific to any particular version. I will also assume that you are a beginning/intermediate programmer, having programmed for anywhere from 6 months to 2 years.

Read More...









10 PHP Functions I Bet You Didn`t Know About
Categories : PHP, PHP Functions, Filesystem, Arrays, Errors and Logging
Trap And Get Notified: A Practical Solution To 404 Errors With PHP
Categories : PHP, Errors and Logging
PHP 101 Part 12 of 15 : Bugging Out
Categories : PHP, Beginner Guides, Errors and Logging
PHP and MySQL News with Comments
Categories : PHP, Databases, MySQL
PHP Debugging Tutorial
Categories : PHP, Debugging
Using Adobe's Flex Builder tool to connect a PHP backend to the front end
Categories : PHP, Macromedia Flex
User Authentication With Apache and PHP
Categories : PHP, Web Servers, Apache, Authentication
PHP5: Designing And Using Interfaces
Categories : PHP, Object Oriented, Interfaces, PHP Classes, Security
Simple Connection to Microsoft SQL Server with PHP
Categories : PHP, MSSql, Databases
Use PHP to Create Dynamic pdf Files
Categories : PHP, PDF
Building a WAP site using PHP3 and MySQL
Categories : PHP, MySQL, WML, WAP
User identification using cookies in PHP and MySQL
Categories : PHP, Databases, MySQL, Cookies
Implementing a Template Based Web Site With PHP
Categories : PHP, Content Management
PHP CLI and Cron
Categories : PHP, CLI, Cron
Beginners guide to PHP and MySQL - Creating a simple guest book
Categories : Beginner Guides, To PHP, To MySQL, PHP, MySQL