RE: [PHP] <input type="text" value="He said, "How do I get this to work?", with a frown" size="50">
| From: | Jay Blanchard | Date: | Tue, 16 Mar 2004 19:15:20 +0000 |
| Subject: | RE: [PHP] <input type="text" value="He said, "How do I get this to work?", with a frown" size="50"> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180589@lists.php.net to get a copy of this message | ||
[snip]
How do I get this to work? the input box is only showing
He said,
<input type="text" value="He said, "How'm I gonna get this to
work?",
with a
frown" size="50">
[/snip]
Escape the quotes.
<input type="text" value="He said, \"How\'m I gonna get this to
work?\",
with a
frown" size="50">