> Dear all > Can anyone pls tell me how i can turn number : 10 to Oct? > i counting on the month, that's why i won't to convert the result to > month!
$months = array(1=>'January',2=>'February',3=>'March',...); echo $months[$your_month_number]; You could also use a combo of date() and mktime(). echo date('F',mktime(0,0,0,$your_month_number,15,2002); The day and year part of mktime() can be anything. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php