I would guess your value doesn't have double quotes around.

<input type="text" value="<?php echo $var; ?>" size="20 "/>

  Because what might happen is this:

<input type=text value="New York \"City\" size=20

Also, take a look at stripslashes() to remove the \ before the ".

--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br


"Monty" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>    New York "City"
>
> and I need to re-display it in the field (if an error occurred, for
> example), this is what's in the field...
>
>    New York \
>
> I have another multi-line text field that I used quotes in and this
doesn't
> happen with that field, even though they are both being treated in the
same
> manner. What am I missing?
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to