You are here: Re: Anoying problem with multi $var combinations Pse help.. « PHP Programming Language « IT news, forums, messages
Re: Anoying problem with multi $var combinations Pse help..

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация