Fatal error: Cannot redeclare stripinput() (previously declared in /home/brentone/public_html/nordaea/includes/functions.php:5) in /home/brentone/public_html/nordaea/includes/functions.php on line 10
What does this mean?
What am I doing wrong?
Fatal error: Cannot redeclare stripinput() (previously declared in /home/brentone/public_html/nordaea/includes/functions.php:5) in /home/brentone/public_html/nordaea/includes/functions.php on line 10
What does this mean?
What am I doing wrong?
Once a function is defined, you cannot define it again. One possibility is that the function definition is in an include file, and that file is being included more than once in your script (perhaps once in the script and again in a file included by that script?).
If an include file contains only function and/or class definitions, then you can use include_once() or require_once() in order to make sure this sort of thing does not happen.