>> I would say to do that with CSS, not building it into the output.
That's actually how I've got things set up now -- I just rarely trust
the house-of-cards that is nested lists in CSS (and I've gone and
complicated things with first-child selectors all over the place)!
Thanks, all, for the grea
> Joe,
>
> Here is a simplified recursive version of your above statement.
>
> $dir = '.';
> function displayDir($dir='.') {
>$show = FALSE;
>$results = glob($dir.'/*');
>foreach ( $results AS $entry ) {
>if ( is_dir($entry) && !in_array($entry, array('.', '
i
can't get a hasChildren() check to work properly. I'd appreciate any
feedback.
I've been referring to the SPL documentation in the manual off
php.net, and the examples at phpro.org. if there are any others out
there, i'd be happy to keep digging!
On 10/30/08, Joche
Again, thanks for the point in the right direction!
On Thu, Oct 30, 2008 at 1:30 PM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Joe Schaeffer schreef:
>> New to PHP development, new to the list; searched the archives but
>> didn't find an answer (or at least nothing i coul
New to PHP development, new to the list; searched the archives but
didn't find an answer (or at least nothing i could successfully
adapt).
I have a (readable) directory structure like so:
../navigation
/cats
/dogs
/beagles
/collies
/some/other/dirs/
/horses
5 matches
Mail list logo