Below are snippets for mjlintz.
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"
-5
Get the count of records from DB
7
Generate multi select box from data in db, then when submitted, each selection is written to a db table as it's own record, each tied together by a common record id.
14
Display contents of a folder, see comments in code.
6
Pull items from a mysql db table and display in the following format-
item1, item2, item3
In the example code, the query will return all items that have the color "red" specified in the db.
item1, item2, item3
In the example code, the query will return all items that have the color "red" specified in the db.
9
Mass email list of email addresses from a mysql db table.
10
Highlight table row on rollover.









