On Thu, July 12, 2007 6:08 pm, Dan wrote:
> string htmlentities ( string $string [, int $quote_style [, string
> $charset
> [, bool $double_encode]]] )
>
> This function is identical to htmlspecialchars() in all ways, except
> with
> htmlentities(), all characters which have HTML character entity
>
string htmlentities ( string $string [, int $quote_style [, string $charset
[, bool $double_encode]]] )
This function is identical to htmlspecialchars() in all ways, except with
htmlentities(), all characters which have HTML character entity equivalents
are translated into these entities.
Th
Best way to learn, and remember, things like this is to make a simple test page
and see for yourself.
Don Don wrote:
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to
display data on a page containing e.g. " but will like it to be displayed as
3 matches
Mail list logo