On Saturday 28 September 2002 08:42 pm, John W. Holmes wrote: > > Short question: following your advice, what would the data look like > > in > > > the > > db if I typed in: > > > > Hi Sascha. > > Next line is doubled. > > > > Double. > > > > How would that appear iun the db? In mine, it looks exactly like I > > typed > > > it > > above (using 1 & 2 with magic_quotes=on). > > It depends on your viewer, I guess. It may appear as though it's all on > one line, but the new lines are there, regardless. Htmlentities() > doesn't do anything to linebreaks... > > ---John Holmes...
Hi John, Tried that Echo "<tr><td>" . nl2br(htmlentities($myrow['request'])) . and it appears exactly as it is written (as part of the text request). Maybe if I try again Monday with a fresh mind, I might discover what I'm doing wrong. I'll keep hacking at this. Thanks for your help. Andre -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php