>
> This has been an ongoing problem, when I include a file which contains a
> call to a function I get undefined function errors but when I try
> to include
> the file containing the function I get cannot redeclare function error
> messages, I can't win how do I make sure my functions are available to any
> script whether included or whatever.
>
is the function declared before file is included?
I'm not sure but this may cause a problem.

As for getting the redeclare error, are you sure the function is not
declared in the page or any other file that is included.

Sorry if this seems a little obvious..

Regards

M@


-- 
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