Don't really understand what you mean, but if you want to assign values to variables this should work;
while($name = each($names))
{
list($name1, $name2, $name3) = $names;
}
The variables $name1,2,3 will then contain the associated value from the array.
Hope this is of some help.