Re: how to convert char into number
| From: | Philip Hallstrom | Date: | Fri, 27 May 2005 21:56:08 +0000 |
| Subject: | Re: how to convert char into number | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215913@lists.php.net to get a copy of this message | ||
What function do I use to convert an ASCII character into it's equivalent number?http://us2.php.net/ord int ord ( string string ) Returns the ASCII value of the first character of string. This function complements chr().