RE: [PHP] Initial Value for Input Box
| From: | Martin Towell | Date: | Tue, 30 Sep 2003 06:19:28 +0000 |
| Subject: | RE: [PHP] Initial Value for Input Box | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-164344@lists.php.net to get a copy of this message | ||
Hiya,
Replace " with "
Martin
-----Original Message-----
From: Cristian Lavaque [mailto:webdesign@anguz.net]
Sent: Tuesday, 30 September 2003 5:09 PM
To: [PHP]
Subject: Re: [PHP] Initial Value for Input Box
Matt Palermo wrote:
> I have a form that a user can fill out. In the text input
field I
> allow them to insert HTML tags with their input data. They can
then
> submit the form for processing. The problem is that later on
when
> they go to edit their inputs (I initialize the text input with
their
> previously submitted input) and they have HTML tags with double
> quotes, the it will only put characters up to the first double
quote
> inside the input box and the rest will go outside of it. I
would
> like the text box to contain everything they previously
submitted to
> be displayed there. Does anyone know of an easy way to allow
the
> double quotes to be initially inserted into the input box?
Please let
> me know.
>
> Thanks,
>
> Matt
Does the same problem occur with a textarea? Have you tried
escaping the double quotes?
Cristian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from NOD32 1.518 (20030925) __________
This message was checked by NOD32 for Exchange e-mail monitor.
http://www.nod32.com