Re: INPUT
| From: | Jochem Maas | Date: | Thu, 10 Aug 2006 18:18:30 +0000 |
| Subject: | Re: INPUT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240482@lists.php.net to get a copy of this message | ||
João Cândido de Souza Neto wrote:
> Hi everyone,
>
> Excuse me by off-topic.
why; are you writing the app in ASP or something? ;-)
>
> I´ve been a little trouble in showing data in html form.
>
> e.g.: In a e-commerce my client have a "Sony 29" TV" that when i put it in a
> input value, it seems just "Sony 29" it´s caused by the quote in the data,
> someone knows how can i fix it?
echo htmlentities('Sony 29" TV', ENT_QUOTES);
or
echo htmlspecialchars('Sony 29" TV');
>
> Thanks all.
>
>