global variables
| From: | Dara Dowd | Date: | Fri, 17 Jan 2003 07:44:50 +0000 |
| Subject: | global variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-131973@lists.php.net to get a copy of this message | ||
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
--
For the largest free email in Ireland (25MB) &
File Storage space (20MB), visit http://www.campus.ie
Powered by Outblaze