Go ahead and laugh now cause this question is uber stupid.
How do I call a function i've created? I've got two files, functions.php and display.php.
functions.php contains my function search_supp($cat, $os) and I want to call it from display.php.
I've tried:
include("functions.php");
and
require("functions.php");
but it give me this error:
Fatal error: Cannot redeclare search_supp() in display.php on line 82
It's acting like it's trying to run the function twice, once when I include(); it and once when I actually call it in display.php.
So, is there any way to call it without running it automatically?
Much Much thanks in advance
Mike