Hey,
take a look at:
http://www.php.net/manual/en/function.chr.php :)
Kees
> -Original Message-
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 19, 2001 9:47 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] converting int to char
>
>
&
how do I convert and integer value to its ASCII correspondent?
in C I would go something like:
int i = 90;
char c;
c = i + '0'; // now c would be 'Z'
in PHP I'm simply clueless since there's no (char) type...
. Christian Dechery (lemming)
. http://www.tanamesa.com.
2 matches
Mail list logo