question about global vars in php


what virtue of using:

gloabl $var;

instead of:

define(gvar,"val");


you should not use global variables @ all, , they've been turned off in
many installations of php.

hth,

jon

"alexander ross" <aross@dosomething.org> wrote in message
news:ee6vdh$mf6$1@forums.macromedia.com...
> virtue of using:
>
> gloabl $var;
>
> instead of:
>
> define(gvar,"val");
>




More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support