Posted by starosta on 08/11/06 07:09
larry wrote:
> I'd like to convert this kind of character :
>
> #48;
>
> into a human readable character :
>
> 0
>
> I can't find the function that does this in the doc, so I used
> str_replace...
> does anyone know ?
You can convert 0 to 0 with
http://www.php.net/manual/en/function.html-entity-decode.php function
or use preg_replace. Some examples are in user notes of
html_entity_decode function documentation.
--
Tomasz Rup
[Back to original message]
|