I include files in each other all the time, and some of them might call the 
same functions (like database functions).

I just use a string in all function declaration with the name of the 
functions or set of functions in the file.

if(!$function_test)
{
 $function_test=1;
 function test()
 {
  dfg
  fdggfdg
  fdg
 }
}

This way you can include the same functions many times without error.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to