Log in

View Full Version : Question about code


AnhTuanCool
10-08-2004, 07:00 PM
Hi,

Have anyone heard about cdom(i don't know exactly), but when we put cdom is a function like function get_array(cdom, array_x) and cdom will be a number, when it gets into function, it becomes a letter, part of that function, such as 81 stands for the letter Q, 80 stands for P, 70 stands for F? Is it a kind of abbreviation or encoding, and what is the full chart of all letters? (those letter I gave above are I unintentional picked up) :ermm:

filburt1
10-08-2004, 08:06 PM
Hi,

Have anyone heard about cdom(i don't know exactly), but when we put cdom is a function like function get_array(cdom, array_x) and cdom will be a number, when it gets into function, it becomes a letter, part of that function, such as 81 stands for the letter Q, 80 stands for P, 70 stands for F? Is it a kind of abbreviation or encoding, and what is the full chart of all letters? (those letter I gave above are I unintentional picked up) :ermm:
It seems you're asking how to convert an ASCII value to its corresponding character, and vice versa. The two functions are http://www.php.net/chr and http://www.php.net/ord , respectively.

AnhTuanCool
10-08-2004, 10:49 PM
The ACSII table is just what I want, great, thank you filburt1 :) ;)