Crockford wrote:
>
>
>
>
> > -Original Message-
> > From: Marco Tabini [mailto:marcot@;tabini.ca]
> > Sent: 11 November 2002 14:46
> > To: Tony Crockford
> > Cc: Php-General@Lists. Php. Net
> > Subject: Re: [PHP] Logic headache, please help.
&g
> -Original Message-
> From: Marco Tabini [mailto:marcot@;tabini.ca]
> Sent: 11 November 2002 14:46
> To: Tony Crockford
> Cc: Php-General@Lists. Php. Net
> Subject: Re: [PHP] Logic headache, please help.
>
>
> How about building an array of all the levels
How about building an array of all the levels:
$a = array();
for ($i = 1; $i <= $maxlevels; $i++)
$a[] = $i;
then for each level you can create a new array that is the difference
between the original array and an array that contains the current level:
for ($i = 1; $i <= $maxlevels; $i++
Hi all,
brief explanation:
I'm building a select list, to exclude certain directories from a search
(with Ht://dig).
The structure is like this:
All levels
Level 1
Level 2
Level 3
Level 4
for four levels, where the option value should be all lv's except the
current option level.
I have a var
4 matches
Mail list logo