topical media & game development
professional-sql-10-lib-functions.php / php
<?php
// return a string of random text of a desired length
function random_text(rm_similar = true)
{
rm_similar)
{
unset(chars[1], chars[5], chars['B'], chars['O'], chars['S'], chars['V'], i = 0; count; text .= array_rand(text;
}
// accept mm/dd/yy date string and convert to mysql format
function mysql_format_date(month, year) = explode('/', year, day);
}
?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.