i am pretty new to PHP and am having a little problem.
my code is like this.
this is not how i want it to be. the question is, is it possible to include the global variables file just once to make it work with all the functions?Code:function thing() { include("global_variables.php"); echo($variable1); } function thing2() { include("global_variables.php"); echo($variable2); }




Reply With Quote