RE: [PHP] Quick conditional question
| From: | Greg Donald | Date: | Sat, 10 May 2003 06:28:01 +0000 |
| Subject: | RE: [PHP] Quick conditional question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147095@lists.php.net to get a copy of this message | ||
> I *suppose* I could use a switch, but I wanted a way to shorten the
> code, but span it across numerous lines :)
Maybe toss all the numbers in an array and then search it with in_array() ?
--
Greg Donald
http://destiney.com/