Re: ACSII in PHP
| From: | Frank M. Kromann | Date: | Thu, 19 Apr 2001 08:38:48 +0000 |
| Subject: | Re: ACSII in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49264@lists.php.net to get a copy of this message | ||
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).
>
> regards,
>
> Augusto
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>