im not sure if i understand your question completely but u can call a function in a class like so classname::functionname($vars);
"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