Calling globals from db queries
| From: | Matt Williams | Date: | Mon, 04 Sep 2000 12:43:49 +0000 |
| Subject: | Calling globals from db queries | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15113@lists.php.net to get a copy of this message | ||
Hi
How can I call a global variable inside a function where the variable is
part of a result array from a mysql query.
I've tried
global $result['column_name']; but I keep getting parse error, expecting
`'{''
Many thanks
M@