This question will probably be off-topic for some, but it does relate to a
database application so please bear with me.
I'm pulling date-times out of a MySQL db:
mysql> select date_format(`date_time`, '%Y.%m.%d %H:%i:%s') as rightNow
from location1 order by date_time desc limit 1;
+--
Not quite following your code completely. For instance, where does
array(3601) come from?
Your loop is putting and array into an slot in another array. I think
what you are trying to do is just put a value in a named slot, like
this:
for($counter = 0; $counter <= 3600; $counter++)
{
$d