Easy way to fix global variables in PHP 5.4? -


i have project lots global variables.

examples used in functions

function changepassform( $vars ) {     global $tpl, $ibtns, $db; ...     $db->query("...."); } 

i can pretty easy guess question is:

"why not working"?

answer php.net: enter image description here

anyway voted close question. @piotr please refine question or closed.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -