RE: One Line text boxes vs. Multiline text boxes
| From: | Tim Ward | Date: | Thu, 24 Jan 2002 11:49:33 +0000 |
| Subject: | RE: One Line text boxes vs. Multiline text boxes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81858@lists.php.net to get a copy of this message | ||
Sounds to like you're not putting the value in quotes.
i.e. <input type=text value=fred> you can get away with <input type=text
value=tom,dick and harry> you can't.
<textarea>'s (what I assume you are referring to as multiline text boxes)
are different as the value goes between the tabs and seems to be treated as
prefdefined text (like between <PRE> tags)
Tim
www.chessish.com <http://www.chessish.com>
----------
From: Phil Schwarzmann [SMTP:pschwar@jhmi.edu]
Sent: 23 January 2002 17:13
To: php-general@lists.php.net
Subject: One Line text boxes vs. Multiline text boxes
For some reason, when a user enters information into a form field
that's
only one line, it might enter the database differently than if it
was a
multiline text box.
Anything characters after a blank space or a comma will get deleted
if
it is entered into a single-line text box. But if I make it a
multiline
text box, it enters all the information correctly.
Why is this??