You can include as many files as you want (or manage to), but you can
declare functions only once.
So include your files declaring functions using require_once();
Matias Silva wrote:
>This might sound like a dumb question but I just need verification so that
>I can convince myself that I'm going insane!
>I have this error in which I include 3 files (common_html.inc,
>well I have a clean() function in the common_functions.inc file. But it
>seems that it is not getting called
>and then my script crashes. If I comment out the clean() function then it
>works. The clean() function
>is just for added security.
>Is there a maximum number of times you can include different files?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php