Re: Queries and results in different functions?
| From: | Brian Clark | Date: | Mon, 20 Nov 2000 16:52:18 +0000 |
| Subject: | Re: Queries and results in different functions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26289@lists.php.net to get a copy of this message | ||
Hello Chris,
(CL == "Chris Lott") chris@intranet.dist-ed.uaf.edu writes:
CL> Can I have a db query performed in one function and then access the result
CL> set in another function?
Yes, read up on references, arguments, and variable scope.
http://www.php.net/manual/html/functions.html
http://www.php.net/manual/html/language.references.html
http://www.php.net/manual/html/language.variables.scope.html
-Brian
--
Don't try to be like Jackie. There is only one Jackie.
Study computers instead. -- Jackie Chan