You can, you just need to use the $this variable, so $this->a($y) "Olafsson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > I´ve a small problem. I´ve created a class with serveal functions but when > I try to make a recursive function within the class it generates an error > > Fatal error: Call to undefined function: getforum() in > C:\riddarinn\clsForum.php on line 55 > > Isn´t it possible to make a recursive functions within a class like this; > > class cClass > { > function a($x) > { > ... > a($y); > } > } > > thanx > Oli > >
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php