how to change month no to month name?
link 02 to february or Feb...
function month_name($month_no)
{
$timestmp = mktime(0,0,0,$month_no,1,2008);
return date("M",$timestmp);
}
echo month_name(10); //will return October
?>
Cheers!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment