On Tuesday 13 January 2004 06:47, Timmy wrote:

> Since the incremented number is at 3, there should be 3 timestamps in a
> "stack" order.  Overwriting the sole number for incrementing or
> decrementing is no problem.  However, inserting a new timestamp is where I
> get stuck. The current timestamp is over-written rather than inserting a
> new one.

You cannot insert stuff when writing to an existing file. Basically you need 
to read in the file, do your insert, then write it all out again.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Pick another fortune cookie.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to