I have a multidimensional array:
$arr = Array (
[0] => Array (
[0] => 1001
[1] => frank
[2] => getfrankemail)
[1] => Array (
[0] => 1007
[1] => youi
[2] => getyouiemail)
[2] => Array (
[0] => 1006
[1] => nashua
[2] => getnashuaemail)
);
I want to get the values of each array by using a loop or something so I could then put the values into variables such that $aff = 1001, $desc = frank and $camp = getfrankemail and so on...
Is there a way to achieve this? Thanks in advance!
forandforeachcan do for you.