How-to articles, tricks, and solutions about GLOBAL
Changing a global variable from inside a function PHP
In PHP, global variables can be accessed and modified from within functions using the global keyword.