array problem
Posted: Sat Feb 16, 2008 1:01 pm
I have following array
i used:
and get following output:
I want to now fetch
9 and 1
7 and 1
3 and 2
any solution
Code: Select all
Array
(
[0] => 9.00 => 1
[1] => 7.00 => 1
[2] => 3.00 => 2
)Code: Select all
foreach($shipsz as $key => $val)
{
echo "$key = $val<BR/>";
}
Code: Select all
0 = 9.00 => 1
1 = 7.00 => 1
2 = 3.00 => 29 and 1
7 and 1
3 and 2
any solution