Hi,
I'm trying to format an array like this:[['Apr,2012', 5],['May,2012',10],['Jun,2012',20],['Jul,2012', 13]]
from this:
while ($row = mysql_fetch_assoc($result)) {
$dates[] = date("M,Y", strtotime($row["Datum"]));
$data[] = $row["forsta"];
}
But I don't know how to combine them in the right format?! Any hints on how to accomplish this?
/Adam