Re: storing data from multi-line text boxes into mysql
| From: | Kevin Stone | Date: | Mon, 08 Jul 2002 19:36:46 +0000 |
| Subject: | Re: storing data from multi-line text boxes into mysql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106160@lists.php.net to get a copy of this message | ||
nl2br();
http://www.php.net/manual/en/function.nl2br.php
Switch beween Unix and HTML line breaks.
-Kevin
----- Original Message -----
From: "Phil Schwarzmann" <pschwar@jhmi.edu>
To: <php-general@lists.php.net>
Sent: Monday, July 08, 2002 1:29 PM
Subject: [PHP] storing data from multi-line text boxes into mysql
> I want to store user inputed data from a HTML multi-line text box into a
> mysql database. But unfortunately, it doesn't remember any of the hard
> returns....is there a painless why to do this?
>
> Thanks!
>