Posted by Peter on 06/11/07 16:29
Thanks !
>> Hi,
>>
>> I'd like to get the actual BYTE value of an ASCII character.
>>
>> For instance:
>> $Test = "ABC";
>> $TestIntValue = Function($Test[0]);
>>
>> What function would I need to use to get a value of 65 in $TestIntValue ?
>
> Ord is what you're looking for:
>
> http://pl2.php.net/manual/en/function.ord.php
>
> --
> Wiktor Walc
> http://phpfreelancer.net
>
[Back to original message]
|