Don't worry. I'm always trying.
I am trying, but I also have a few other things.. if you want I can give you the current code:
PHP Code:
$months = array(
1 => "Janurary",
2 => "Feburary",
3 => "March",
4 => "April",
5 => "May",
6 => "June",
7 => "July",
8 => "Agust",
9 => "September",
10 => "October",
11 => "November",
12 => "December"
);
function organizeMonths($date){ /*array*/
global $months;
for($i = 0; $i < count($date); ++$i){
$date[$i] = explode("/", $date[$i]);
foreach($months as $key => $value){
if($date[$i][0] == $value){
$date[$i] = $key.":".$value;
}
}
return sort($date);
}
}
echo organizeMonths(array("Janurary/03/2009"));
But it doesn't work yet. =/
Bookmarks