Re: Quote in input tag value?
| From: | Jim Lucas [php] | Date: | Fri, 08 Feb 2002 01:34:32 +0000 |
| Subject: | Re: Quote in input tag value? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83945@lists.php.net to get a copy of this message | ||
you might want to check your coding, but that is a parse error waiting to
happen.
Jim Lucas
----- Original Message -----
From: "Rick Emery" <remery@excel.com>
To: "'Nathan Cassano'" <nathan@cjhunter.com>;
<php-general@lists.php.net>
Sent: Thursday, February 07, 2002 1:54 PM
Subject: RE: [PHP] Quote in input tag value?
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>