RE: [PHP] Large text fields

From: Date: Thu, 02 Nov 2000 15:05:14 +0000
Subject: RE: [PHP] Large text fields
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23399@lists.php.net to get a copy of this message
Actually, you could preserve the content by doing nl2br($text); This will change all your new lines in the text box to <BR> tag of HTML, and thus all the paragraph + line breaks etc will be retained. If you do use the <PRE> tags, I guess it might still appear as one looong line, though I am not sure. If you find that it works, but dont like the courier new font, force-change it by using a different STYLE (CSS) definition.. HTH, </Shanx> | -----Original Message----- | From: Russell Barr [mailto:rbarr@quik.com] | Sent: Thursday, November 02, 2000 3:52 PM | To: Claus Nybo; php-general@lists.php.net | Subject: Re: [PHP] Large text fields | | | Use <pre></pre> tags around the output | Russell | | > Hi, | > | > I am working on a website using php3 and mySQL. On one page | in the site | > administration is inputting new articles, via a form, with | fields such as..... ....<SNIP> --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.198 / Virus Database: 95 - Release Date: 04-Oct-00

« previous php.general (#23399) next »