Possible Duplicate:
Array to named variables
How can I convert an array like this
$data = array(
'name' => 'something',
'another' => 'variable'
);
to
$name = 'something';
$another = 'variable';
Is there a way how I can do this without looping?
extract()s the values so you don't have to reference them by an array name.