[phpa] Re: class not found

At 01:37 AM 4/2/02 +0100, Nick Lindridge wrote:
>Functions inside functions is not an idiom that I
>recommend, and it isn't handled by PHP in the way that it should be. i.e.
>the inner function doens't cease to exist once the outer function has
>completed execution (but correct me if I'm wrong).

But, unless you have the skills to write the correct SQL for nested trees 
(keeping track of the left and right numbers etc) which I don't, then a 
recursive function is the only way to do something like build breadcrumbs.

Regards,
Peter.

---oOo---
sendcard - The free PHP e-card solution
http://www.sendcard.org  

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: