You can use
$temp = ord("A");
And you will then see that it's 65 end not 99 :-)
- Frank
> Is there any function in PHP that I could use to know the number of the
> ASCII table of letter "A" for example?
>
>
> something like: $tmp=function_name("A");
>
> $tmp==99 ("A" is 99 in ASCII table).
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote:
> Is there any function in PHP that I could use to know the number of the
> ASCII table of letter "A" for example?
It's chr() or ord(). I don't recall which (one is the inverse of the other)
so check the online manual.
--
Steve Werby
President
2 matches
Mail list logo