Thank you kindly, Neil Smith and Brent Baisley.
I now see the error of my approach.
---------------------------------------------------------------------------------------------------------------
$dateArray = array();
> for($counter = 0; $counter <= 3600; $counter++)
> {
> $dateArray[ date("Y.m.d H:i:s", $now - $counter) ] =
> (int)ceil(980 - ($counter * .2333333333333)));
> }
---------------------------------------------------------------------------------------------------------------
works just fine.
note:
Brent, the array(3601) was coming from the $counter loop above and is the
seconds in an hour plus one ( for aesthetic reasons ).
David
**********************************************************************
IMPORTANT NOTICE
This communication is for the exclusive use of the intended recipient(s)
named above. If you receive this communication in error, you should
notify the sender by e-mail or by telephone (+44) 191 224 4461, delete
it and destroy any copies of it.
This communication may contain confidential information and material
protected by copyright, design right or other intellectual property
rights which are and shall remain the property of Piranha Studios
Limited. Any form of distribution, copying or other unauthorised use
of this communication or the information in it is strictly prohibited.
Piranha Studios Limited asserts its rights in this communication and
the information in it and reserves the right to take action against
anyone who misuses it or the information in it.
Piranha Studios Limited cannot accept any liability sustained as a
result of software viruses and would recommend that you carry out your
own virus checks before opening any attachment.
************************************************************************
<<<<GWAVAsig>>>>
AdmID:37A922A2575C9B012AB98578DBAB5653
**********************************************************************
IMPORTANT NOTICE
This communication is for the exclusive use of the intended recipient(s)
named above. If you receive this communication in error, you should
notify the sender by e-mail or by telephone (+44) 191 224 4461, delete
it and destroy any copies of it.
This communication may contain confidential information and material
protected by copyright, design right or other intellectual property
rights which are and shall remain the property of Piranha Studios
Limited. Any form of distribution, copying or other unauthorised use
of this communication or the information in it is strictly prohibited.
Piranha Studios Limited asserts its rights in this communication and
the information in it and reserves the right to take action against
anyone who misuses it or the information in it.
Piranha Studios Limited cannot accept any liability sustained as a
result of software viruses and would recommend that you carry out your
own virus checks before opening any attachment.
************************************************************************
<<<<GWAVAsig>>>>
AdmID:9E1A5D45CE9792B6FD38BE4153846A88
AdmID:FA8430F7710CE34D77197636E5D0CA4E
AdmID:02BD4969B4A93E3734B33C6E12E58D39
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php