Re: [PHP] extract() question

2001-11-19 Thread Jason G.
I needed this once, but I could not figure out how to just create the vars in current scope. If my_extract() is called from within a function, then the variables will not be available unless you declare them global (which kinda makes the function pointless). Any ideas? -Jason Garber IonZoft.

Re: [PHP] extract() question

2001-11-18 Thread Joe Stump
You may want to do something like this instead: --Joe On Sun, Nov 18, 2001 at 04:21:46PM -0500, David Bernier wrote: > There is this array which I would like to convert into a series variables using the >extract function: > > $oz = array( > "lion" => "courage", > "dorothy" => "kansas",