[wp-hackers] wp_list_categories()
Will Anderson
wp-hackers at itsananderson.com
Wed Dec 31 22:57:56 GMT 2008
Your right. I stand corrected :)
For a "non phper" recursion is probably the best bet though.
On Wed, Dec 31, 2008 at 5:41 PM, Mike Schinkel <mikeschinkel at gmail.com>wrote:
> Will Anderson <wp-hackers at itsananderson.com> wrote:
>
> > Your doing this recursively right? (
> > http://en.wikipedia.org/wiki/Recursion)
> > trying to do it with nested loops or something just isn't going to work.
> >
>
> Just being pedantic, but it *is* possible to do with nested loops in PHP
> using arrays to simulate the stack. It's just nowhere near as elegant as
> recursion. :-)
> -Mike Schinkel
> http://mikeschinkel.com
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Will Anderson
http://www.itsananderson.com/
More information about the wp-hackers
mailing list