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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 31, 2002 5:51 AM
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
www.tececo.com


Reply via email to