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" <[EMAIL PROTECTED]>
To: "Lso ." <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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 ([EMAIL PROTECTED])
> Linux/Unix Network Administrator
> The Cryptocomm Group
>
>
> --
> 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

Reply via email to