this is my problem. i have two arrays. i send them through a loop using each to pull them apart to get the values. now i want to use one array's values as variables and the other array's values as the values. i don't know how to make this happen.
$array1 = array('title', 'date');
$array2 = array('This is the title', '2001-01-01');
for($count =0; $a = each($array1), $b = each($array2); $count++)
{
$variable = $a['value'];
$value = $b['value'];
}
now i want to combine them so the value in $variable is the name of the variable that equals $value.
did that make sense? any thoughts or help?
thanks in advance.