A Attirecut New Member Sep 17, 2012 #1 Is there a best practice / recommendation when I want to use a variable declared outside of a function when it comes to using:[*]\[code\]global $myVar\[/code\][*]\[code\]$GLOBALS['myVar']\[/code\]Thank you.
Is there a best practice / recommendation when I want to use a variable declared outside of a function when it comes to using:[*]\[code\]global $myVar\[/code\][*]\[code\]$GLOBALS['myVar']\[/code\]Thank you.