Useful PHP Scripts, Functions and Code Snippets
These are some PHP scripts, functions, code snippets, and code examples we have found useful in creating websites for ourselves and our clients.
- Date Calculation - Difference in Days between two Dates
- Get SQL/MySQL Data into a 2D Array - Function
- 2D Array Sort Function
- Print or Echo a Nicely Formatted Array
- Get Default Values Array from MySQL Table
- Get City and State values for a ZIP Code