You're redeclaring it again somewhere else.. what part of that don't you get?
You can only declare clean() one time.. in the entire program.

You're redeclaring it again somewhere else.. what part of that don't you get?
You can only declare clean() one time.. in the entire program.
Yes, you can only declare the function (function clean() {) once.
#1, why are you declaring your functions in config.php, and #2: it wouldn't say that if you haven't declared it elsewhere.
It doesn't, and I never once said you did, I was just asking why the hell you were declaring them there.
And then I said that the error wouldn't be caused, unless you were declaring the functions somewhere else.. so somewhere you're re-declaring the clean() function.
BASICALLY
HES SAYING THIS
In config you got
function Clean( $str )
{
}
and in another location you got a function called clean
and its like having a fight and php doesnt like that.
Hi, names James. I am a web developer.
Want to hide these adverts? Register an account for free!