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

Reply via email to