Re: [PHP] ACSII in PHP

2001-04-18 Thread Frank M. Kromann
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).

Re: [PHP] ACSII in PHP

2001-04-18 Thread Steve Werby
"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