Re: local and global variables

From: Date: Thu, 12 Sep 2002 16:39:52 +0000
Subject: Re: local and global variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116175@lists.php.net to get a copy of this message
eg ... $var = 'value'; function myFunction($var2) { GLOBAL $var; $var = $var2; } "Skitum" <skitum@hotmail.com> wrote in message news:OE236CuyzC0bHwrMM7X0000454b@hotmail.com... Hi all, Maybe a stupid question, but i have to make it: How can a local variable pass its value to a global one? Is it possible? Thanks in advance. Peace & Love skitum

« previous php.general (#116175) next »