RE: [PHP-DB] Convert plain text to HTML tagged text

2004-09-28 Thread Ford, Mike
On 28 September 2004 18:15, [EMAIL PROTECTED] wrote: > To the list: > > I've googled and searched the manual, but I'm still looking > for a simple solution to a simple problem. > > I have a MySQL database of text stories in longtext MySQL > fields. These stories have simple returns (\r) in them

RE: [PHP-DB] Convert plain text to HTML tagged text

2004-09-28 Thread Bastien Koert
why not do a search and replace on the way out to the browser? $text = str_replace("\r,"",$text); ... echo $text; ... ?> bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP-DB] Convert plain text to HTML tagged text Date: Tue, 28 Sep 2004 17:15:24 + To the list: I've googled an