Perhaps. I always use the same phrase to open up an array. foreach($myarray as $var=>$val) { $$var= $val; } You can also nest it into another foreach statement to extract from an associative array. Alberto ______________________________________________ Renovamos el Correo Yahoo!: ¡100 MB GRATIS! Nuevos servicios, más seguridad http://correo.yahoo.es -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php