On Fri, 06 Sep 2002 13:52:08 +1000, you wrote: >Hi, > >I'd like to be able to define multiple variables within a function, and have >it available outside the function from the point the function is called...
How about this: <? function foo() { return array ( "foo" => "aaa", "bar" => "bbb" ); } extract(foo()); echo $foo; echo $bar; ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php