Easy alert system with PHP

How to deal with errors, warnings, alerts or notices with PHP. You cannot hard code them into a page because at times they wont be needed yet when they are…

The PHP Trim function

PHP trim() removes whitespace from the beginning and end of a string. It does not remove spaces during a string. The usage of trim() is very simple. This example shows…