RE: [PHP] converting int to char

2001-05-19 Thread Kees Hoekzema
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 > > &

[PHP] converting int to char

2001-05-19 Thread Christian Dechery
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.