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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 7:49 AM
Subject: [PHP-DB] 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

Reply via email to