[phpa] Re: class not found

  • From: Peter Bowyer <reywob@xxxxxxx>
  • To: phpa@xxxxxxxxxxxxx, phpa@xxxxxxxxxxxxx
  • Date: Tue, 02 Apr 2002 10:18:54 +0100

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.


sendcard - The free PHP e-card solution

  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: