Re: global variables

From: Date: Fri, 17 Jan 2003 14:12:45 +0000
Subject: Re: global variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132007@lists.php.net to get a copy of this message
For this use globals, it would be painfull to pass everything. But you can also use some class that would keep track of such things. Dara Dowd wrote:
Is it "better" to pass variables through functions or to simply declare them as global within the function's scope? The variables in this particular case are things like MySQL database connections and tablenames. Thanks,Dara


« previous php.general (#132007) next »