RE: [PHP-WIN] Textarea and mysql
| From: | Bill Bolte | Date: | Thu, 17 May 2007 21:22:15 +0000 |
| Subject: | RE: [PHP-WIN] Textarea and mysql | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27909@lists.php.net to get a copy of this message | ||
Split the data on a line break maybe? First thing that comes into my
head...
-----Original Message-----
From: Moore, Joshua [mailto:Joshua.Moore@tusd1.org]
Sent: Thursday, May 17, 2007 4:17 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Textarea and mysql
Hello,
Im currently having a bit of an issue with putting user info from a
textarea
into mysql db with php. With the textarea I need each new line to be a
separate entry into the db fields. So I guess the end result is making
the
textarea act like a regular text html form. The reason I am using
textarea is
because I want a user to paste in a long string of numbers
Ex:
11111111
22222222
33333333
...and so on
And each will end up in the same field just different entries.
Does anyone have any idea how I can accomplish this?
Thanks