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.br
> . Gaita-L Owner / Web Developer
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to