Re: INPUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> 
> 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux