Hi,
I'm trying to get the info from two arrays at the saem time without having to write a while statement for both... please help...
<?
$purchase[] = $id;
$quan[] = $quantity;
while(list($index, $ref_id) = each($purchase)) and (list($index1, $ref_id1) = each($quan))
{
echo "<br>$index - $ref_id, $index1, $ref_id1";
}
}
?>
i can get it to work if i use two while statements but i wan to retrieve all the info at the saem time...