Re: PHP / MySQL guestbook
| From: | Martin Samesch | Date: | Thu, 29 Aug 2002 19:53:48 +0000 |
| Subject: | Re: PHP / MySQL guestbook | ||
| References: | 1 | Groups: | php.doc.de |
| Request: | Send a blank email to doc-de+get-218@lists.php.net to get a copy of this message | ||
Hi Andreas,
> [...]
> how can i manage that the wordwrap information is displayed correctly in my
> database request??
Vor zwei Tagen habe ich die folgende Mail bekommen (beachte: 'Sent:'
;-):
##### snip #####
hitting <enter> produces a \n. To convert those to <br> use nl2br, so
$text=nl2br($text);
----- Original Message -----
From: "Martin Samesch" <martin.samesch@vogelspinnenseite.de>
Newsgroups: php.version4
To: "PHP4-list" <php4beta@lists.php.net>
Sent: Saturday, June 17, 2000 5:01 AM
Subject: Textarea, wrap=physical: how to get <br>
> Hi,
>
> sorry for this newby question....
>
> When I hit <RETURN> within a <textarea wrap="physical"> it produces some
> kind of newline-command. How do I convert this into <br>? nl2br doesn't
> seem to do the trick.
>
> Martin
##### snip #####
Siehe auch: http://www.php.net/manual/de/function.nl2br.php
BTW, das hier ist die
> PHP German Documentation Mailing List (http://php.net/manual/de/)
Cheers,
Martin