tutorial on global variables
| From: | John Hughes | Date: | Sat, 27 Apr 2002 19:13:08 +0000 |
| Subject: | tutorial on global variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94937@lists.php.net to get a copy of this message | ||
Can someone point me toward a tutorial on the proper use of global
references under PHP4.
I have been declaring
function something()
{
global $foo, $bar;
/* some actions */
}
in functions and I understand that this is not the way I'm supposed
to be doing this. Or there is a new way that is preferred.
John Hughes
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com