Anyone know of better way to convert the ASCII text to html text???

From: Date: Thu, 08 Apr 2004 20:43:04 +0000
Subject: Anyone know of better way to convert the ASCII text to html text???
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11749@lists.php.net to get a copy of this message
Hi! I am wondering if anyone know of a better way to convert the ASCII text into the HTML text? It worked great in the html textarea for me but if I tried it in a HTML Table by using the preg_replace("/\s/",' ',$AsciiTxt) function. It doesn't fit in and make the table go beyond the fixed width of 100 and all of it on one line. If I leave it alone then it fit in the table as expected but if I have 2 or more text space then the browser only use one between characters. So, I welcome any suggestion.... FletchSOD

« previous php.pear.general (#11749) next »