Kevin, Have fun and be sure to guarantee the prevent never ending looping. Roberto <?php function RecursiveFunction($aCounter) { if($aCounter <= 10) { echo "<br>Counting to ten: $aCounter\n"; $aCounter++; RecursiveFunction($aCounter); } } ?> ----- Original Message ----- From: "Kevin Gordon" <kgordon@paradise.net.nz> To: <php-db@lists.php.net> Sent: Saturday, January 25, 2003 7:49 AM Subject: Calling functions recursively > Can functions / methods be called recursively? If so how can this be > done? Comments much appreciated. > Kevin Gordon > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php