Re: quotes
| From: | Chris Sherwood | Date: | Wed, 25 Jun 2003 15:50:06 +0000 |
| Subject: | Re: quotes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152794@lists.php.net to get a copy of this message | ||
or you would escape the quote by putting a \ in front of it that way the
engine knows to "write" the quote.
ie input type=\"text\"
----- Original Message -----
From: "Adam Voigt" <adam@cryptocomm.com>
To: "Lso ." <lukas__scott@hotmail.com>
Cc: <php-general@lists.php.net>
Sent: Wednesday, June 25, 2003 7:47 AM
Subject: Re: [PHP] quotes
> Cause of the quotes around the value, example:
>
> <input type="text" value="my nickname is "hank" or bob">
>
> The HTML parser gets confused by the "'s around hank,
> so since the textarea doesn't use quote's to delimit the
> value, it works fine.
>
>
>
> On Wed, 2003-06-25 at 10:37, Lso . wrote:
> > Does anyone know why this works this way? seems kinda odd that a
textarea
> > will display it correctly but a normla field will not.
> >
> > >>Try a textarea. Example:
> >
> > Lucas
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> --
> Adam Voigt (adam@cryptocomm.com)
> Linux/Unix Network Administrator
> The Cryptocomm Group
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>