There are 47 posts in the PHP category. Displaying posts 1 through 10:

Spell Out Numbers PHP Function

This PHP function takes numbers (like 11) and turns them into words (like eleven). It handles thousands, millions, billions, and even trillions. » View Post

Autocomplete Example

Ajax | Helpers | jQuery | PHP
This will show you how to use the autocomplete function from our forms helper class. » View Post

TSV File to PHP Array

This function lets you take a tab separated text file (or comma separated, pipe separated, etc.) and convert it into a PHP array with just one line of code. Huge time saver. » View Post

Import MySQL Queries from a File Too Big for phpMyAdmin

This PHP script will process queries exported by phpMyAdmin (or any other source) from a file that exceeds your maximum file upload size. » View Post

Convert IPv6 Address to IP Number with PHP

Quick and easy function converts both IPv4 and IPv6 addresses to IP numbers. No PHP extensions required. » View Post

Get Timezone by Latitude and Longitude in PHP

cURL | Maps | PHP
This function lets you quickly go from lat. and long. coordinates to a time zone by connecting to the GeoNames web service. » View Post

Convert State and Country Abbreviations to Names Function

This PHP function makes it super easy and quick to go from an abbreviation to a full state or country name. We include the MySQL data tables you need too. » View Post

Display List in PHP with Commas and "And"

Like PHP's built-in implode function, but with extra logic to give an "and" before the last item in the list. » View Post

Get Facebook app_scoped_user_id From Facebook ID

Facebook | PHP
A little help transitioning to version 2 of the Facebook Graph API. Explains how to get the app_scoped_user_id values for your users if all you have is their original Facebook ID. » View Post

Basic PHP cURL Example

A quick example showing how to retrieve a webpage's contents remotely. » View Post