Reply to Re: character conversion

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация