what Jon said.
but note it's better to stick your functions into a seperate 'funcs' file
and include_once() or require_once() that instead. at some stage you'll have so
many functions you may want to split them up into seperate 'funcs' files
depending
on what they do (and/or what they are used fo
Thanks Jon,
That did the trick nicely, not sure why I didn't think of it myself but is
glad for the reminder of what that function is for. :)
Best Regards,
Steve
"Jon Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This would be the simplest work-around I can think of.
Oh, and the other obvious thing that I omitted would be to try using
either the include_once() and require_once() functions wherever you
include() or require() config.php.
jon
Stephen Lake wrote:
Hey Guys and Gals,
I am having a small problem with a user defined function, I placed it in a
c
This would be the simplest work-around I can think of.
In your config script, wrap an if around your function call:
if (!function_exists('clean_sql')) {
function clean_sql() {
...
}
}
jon
Stephen Lake wrote:
Hey Guys and Gals,
I am having a small problem with a user defined funct
Hey Guys and Gals,
I am having a small problem with a user defined function, I placed it in a
config file and it works as expected, but the problem seems to arise only
when I try to use my login script for a members area I am redeveloping.
The error message that comes up is the following:
Fata
5 matches
Mail list logo