Hi JJ, > Is there a magical function that I can use to convert 4 > into April and 5 into May etc? > can I use mktime() > One yes no answer will do fine
Yes and no ;-)
You might want to use a combination of mktime() and date().
i.e.
<?php
$month = 4;
echo date ("jS F Y", mktime (1, 0, 0, $month, 1, 2002));
?>
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

