Simple Phone Number Format Function

Dec 06

This simple function will turn the poorly formatted phone numbers entered by users into a visually appealing set of numbers. /** * Converts phone numbers to the formatting standard * * @param   String   $num   A unformatted phone number * @return  String   Returns the formatted phone number */ function formatPhone($num) { $num =...

Read More

Zip/Postal Code Lookup Class

Mar 03

If you’ve ever needed the ability to lookup geographical information for a particular zip or postal code in PHP, look no further! This is your all-in-one geo data lookup class. This class will query a database and get the city, province (or state), country, area code, time zone, and coordinates. It can also calculate distances between two different zip/postal...

Read More

EyeDataGrid Control

Dec 08

This code is no longer maintained and hasn’t been for years. Use of it is discouraged. I’m not sure when I’ll get back into developing this. Please don’t email me asking for support. The Eyesis Data Grid Control is all you need when it comes to displaying data from a MySQL database in tabular format. No flashy dynamic updating or complex...

Read More