decoding &#;

Is there a function in php that will take a string of numbers like
"0798890" and give me the equivalent
string in numbers/letters ?
Kentor [ So, 08 April 2007 06:16 ] [ ID #1681757 ]

Re: decoding &#;

Kentor wrote:
> Is there a function in php that will take a string of numbers like
> "0798890" and give me the equivalent
> string in numbers/letters ?

Depending on the version of PHP you are using, you may have
htmlspecialchars_decode()

http://www.php.net/manual/en/function.htmlspecialchars-decod e.php

--

//Aho
Shion [ So, 08 April 2007 07:46 ] [ ID #1681758 ]

Re: decoding &#;

On Apr 8, 1:46 am, "J.O. Aho" <u... [at] example.net> wrote:
> Kentor wrote:
> > Is there a function in php that will take a string of numbers like
> > "0798890" and give me the equivalent
> > string in numbers/letters ?
>
> Depending on the version of PHP you are using, you may have
> htmlspecialchars_decode()
>
> http://www.php.net/manual/en/function.htmlspecialchars-decod e.php
>
> --
>
> //Aho

Thanks thats what I needed :)
Kentor [ So, 08 April 2007 17:20 ] [ ID #1681768 ]
PHP » alt.php » decoding &#;

Vorheriges Thema: An Easy One for you all
Nächstes Thema: how to backup website using php