RE: [PHP] Generate Random Letters?
| From: | Nathaniel Hekman | Date: | Fri, 09 Mar 2001 15:24:08 +0000 |
| Subject: | RE: [PHP] Generate Random Letters? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43157@lists.php.net to get a copy of this message | ||
Random lower-case letter:
$randomletter = chr(rand(ord("a"), ord("z")))
-----Original Message-----
From: Website4S@aol.com [mailto:Website4S@aol.com]
Sent: Friday, March 09, 2001 8:13 AM
To: php-general@lists.php.net
Subject: [PHP] Generate Random Letters?
I know it is possible to generate a random number using rand() I don`t
suppose there is anyway to generate a random letter sequence that anyone
knows of?
Ade
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net