Re: How to get new row on top?

From: Date: Sat, 17 Feb 2001 10:38:36 +0000
Subject: Re: How to get new row on top?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40313@lists.php.net to get a copy of this message
I'm not quite sure what that code has to do with anything, but anyway, incase you're using files, you can open the file with the 'a' flag, using fseek goto 0byteth, and append from there. $fp = fopen('file', 'a'); fseek($fp, 0); fwrite... or whatever here. --- Jan Grafström <jan@lillemanshus.com> wrote: > Hi! > I have this code: > $message = ereg_replace("\r\n\r\n", "\n<P>", > $message); > And the new rows are placed under the old ones. > I want to change so the old messages get placed > under is that possible? > Thanks for help. > Jan > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== To find out more about me : http://www.geocities.com/mimodit My bookmarks are available @ http://mukul.free.fr __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.general (#40313) next »