RE: [PHP] Replacing Number with Month(newbie)

From: Date: Fri, 31 May 2002 12:50:49 +0000
Subject: RE: [PHP] Replacing Number with Month(newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100080@lists.php.net to get a copy of this message
You can use an array.. $month = array("January","February","March","April".); echo $month[1]; Or put that into a function and use it like show_month(5); ---John Holmes. -----Original Message----- From: webmaster@tececo.com [mailto:webmaster@tececo.com] Sent: Friday, May 31, 2002 5:51 AM To: php-general@lists.php.net Subject: [PHP] Replacing Number with Month(newbie) 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 JJ Harrison webmaster@tececo.com www.tececo.com

« previous php.general (#100080) next »