php

TwitterFacebook
Get flash to fully experience Pearltrees
http://phpmaster.com/error-handling-in-php/

Error Handling in PHP » phpmaster

Errors are the most common event a developer faces when programming. Errors can be categorized as syntactical, run-time, or logical: missing the semicolon at the end of a statement is an example of a syntax error; trying to connect to a database when the server is down is an example of a run-time error; providing incorrect data to a variable is an example of a logic error. To help reduce the number of errors in your code, and to mitigate their effects, proper error handling is essential in your web application. This article is a crash course in PHP error handling. You’ll learn about PHP’s built-in error reporting levels, and how to handle errors with custom error handlers and exception handling.
login modules

Manual - Manual

downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net add a note User Contributed Notes PHP Manual http://php.net/manual/en/index.php
http://www.elated.com/articles/formatting-php-strings-printf-sprintf/

Formatting PHP Strings with printf and sprintf

Learn how to use PHP's printf(), sprintf() and related functions to format strings. Looks at type specifiers, padding, number precision, and more. Like many other languages, PHP features the versatile printf() and sprintf() functions that you can use to format strings in many different ways. These functions are handy when you need convert data between different formats — either to make it easy for people to read, or for passing to another program.