RE: [PHP] Quote in input tag value?
| From: | Rick Emery | Date: | Thu, 07 Feb 2002 21:54:41 +0000 |
| Subject: | RE: [PHP] Quote in input tag value? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83923@lists.php.net to get a copy of this message | ||
I prefer: print" <input type="text" value="\"My
Quote\"">";
-----Original Message-----
From: Nathan Cassano [mailto:nathan@cjhunter.com]
Sent: Thursday, February 07, 2002 3:54 PM
To: php-general@lists.php.net
Subject: [PHP] Quote in input tag value?
If there is a quote mark in an input tags value what is the correct way
to print the quote?
<input type="text" value=""My Quote"">
or
<input type="text" value="\"My Quote\"">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php