|
|
|
12
With this function you can calculate the age of a person
Example:
echo "Age is: " . age("1984-07-05");
Result will be (23 Feb 2005) = "Age is: 20"
Example:
echo "Age is: " . age("1984-07-05");
Result will be (23 Feb 2005) = "Age is: 20"
12
This only seems appropriate, we were fighting with a similar issue this morning.
12
Example of how to use CURL with PHP.
11
How Long Has It Been Since a Certain Date?
11
The below code will generate a form dropdown for all the days of the month, with today's day selected. Handy for those date pickers!
11
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
11
Give this little function a start date and number of days and it will calculate the end date.
11
Connect to MySQL db & display result from Table query
11
I'm trying to load an object into a session variable.
11
A function that will either read a file or read a string, and parse a random line from it. Very simple.







