-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,
Try nl2br(http://www.php.net/nl2br).
~Pauly
 
On Friday 27 September 2002 08:19 pm, Shane wrote:
> Greetings folks.
>
> I need my carriage returns to show up in my HTML output from my text form
> field.
>
> There is a JavaScript function that will convert carriage return to <BR>
> tags, but is there a PHP function that will add <BR> or <P> tags to a text
> form field in place of the carriage returns a user might add.
>
> Thanks in advance!
> -NorthBayShane

- -- 
~Paul Nicholson
Design Specialist @ WebPower Design
"The web....the way you want it!"
[EMAIL PROTECTED]

"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9lQxPDyXNIUN3+UQRAplZAJsHW7SeDvHzESn+mqbXZhmobMw8IwCfcWry
IzMWaMTsegPaXrBmvjl9vVQ=
=sL/V
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to