Geekpedia Programming Tutorials






Code PHP Code

1 2 3 4 5 6 7
(35 code snippets in 7 pages)
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Code

-----
No votes

Mar 4th 2008
by Andrew Pociu

Array of States and their Territory Code

A PHP array of US state abbreviations and their corresponding territory code, including the leading zero.

Code

-----
No votes

Mar 4th 2008
by Andrew Pociu

Array of Street Types and their Abbreviations

A PHP array containing the street types / designations and their canonical form / abbreviation, following the USPS standard.

Code

*****
5 from 1 votes

Feb 29th 2008
by Andrew Pociu

Get the modified date and time of a file using PHP

An example on how to use the filemtime() function to retrieve the last update date and time of a file.

Code

****-
3.4 from 5 votes

Jan 18th 2008
by Andrew Pociu

Calculate age from birth date

A PHP function to calculate the age of a person by passing in their birth date in standard format.

Code

****-
4 from 1 votes

Jan 16th 2008
by Andrew Pociu

Array of States and their Abbreviation

A PHP array of the 50 American states and District of Columbia and their abbreviation, especially useful when building dropdown lists based on loops.

1 2 3 4 5 6 7
(35 code snippets in 7 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Download

Latest Icons