On Saturday 28 September 2002 08:42 pm, John W. Holmes wrote:
> > Short question: following your advice, what would the data look like
> > 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
> > 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...
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.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php