Re: for loop inside a switch
| From: | Mohamed Yusuf | Date: | Thu, 16 Aug 2007 09:46:53 +0000 |
| Subject: | Re: for loop inside a switch | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260898@lists.php.net to get a copy of this message | ||
I don't think it is going to work. IMO
On 8/16/07, Hulf <ross@blue-fly.co.uk> wrote:
>
> Hi,
>
> switch ($q) {
>
> for ($i=0; $i <21; $i++) {
> case 'faq$i':
> echo $faq1;
> break;
> }
> }
>
>
> I just want to loop out a big long list of cases.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>