On Wednesday 06 November 2002 08:48, Justin French wrote:
> Doesn't 'global' only get variables from outside the function into it????
> OP (I think) wanted the variables within the function to work outside it.

Kind of. What it really does is 'link' the global'ed variable into the global 
scope. Thus whatever you do to the global'ed variable inside the function is 
equivalent to as if it had been done outside of the function.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Me no internet, only janitor, me just wax floors.
*/


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

Reply via email to