Well you could put all of your function definitions into a separate file. Then, just include the function file before you loop through the code that uses the functions. Or as an alternative you could also do:

<?php
if (!function_exists('name_of_function')) {
  function name_of_function() {
     // do something
  }
}
?>

But this really isn't a good idea. Try to put the function definitions into a separate file if that's feasible.

Jason

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to