What you want to do is have it all handled in your MySQL Query...
In my case, which might not work for you, I have:
Code:
$select = array(); $select[] = "MONTH(timeStamp) AS theMonth"; $select[] = "DAY(timeStamp) AS theDay";
Later, when I want to echo the results, I use:...
Leave a comment: