RE: [PHP-DB] Global variables
| From: | Ford, Mike [LSS] | Date: | Tue, 10 Dec 2002 18:54:58 +0000 |
| Subject: | RE: [PHP-DB] Global variables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24023@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jim [mailto:farli@unitywave.com]
> Sent: 10 December 2002 18:51
>
> Can I define a global variable in a function and then
> successfully reference
> it in the rest of the page?
Yes.
(Why didn't you just try it?)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211