Posted by Shelly on 11/14/96 11:21
"Peter Butler" <peterbutler@iafrica.com> wrote in message
news:rbidnYj81aaV3kXfRVn-rA@is.co.za...
>
> Shelly <sheldonlg.news@asap-consult.com> wrote in message
> news:CImdnVmIcLIbokXfRVn-jA@comcast.com...
>
>> switch ($target) {
>> case 1: stuff
>> break;
>> case 2:
>> }
>
>
> ja... I know BUT I'll still have a zillion unique combinations of:
>
> 14things x 14things x 14things x 14things x 14things x 14things x 14things
> x
> 14things x 14things x 14things x 14things x 14things x 14things x 14things
>
> that's a lot of redundant
>
> 'case "x": stuff_a
>
>
>
>
> ... unless that one single combination of 14 different $vars is set in
> that
> particular way
>
See my last suggestion of simply building the query dynamically. Much
shorter and much better.
Shelly
[Back to original message]
|