On Fri, 15 Mar 2002, Morten Nielsen wrote:
> I have a php file where a make a lookup in a data base. I store the result
> in a variable call $qid.
> I then have an include statement of another file where I need the data from
> $qid. Can anybody tell me how I get the data.

If it was in the global context in the first file, it will likewise be 
available in the global context in the second file. Just pretend it's one 
big PHP file.

If the variable was local to a function, you have to either make it global 
in scope, or pass it in and out of the function(s).

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to