i have this array structure:
$ar = [product_info] => Array
(
[pname] => Array
(
[0] => Выделенный �?ервер DE-22
[1] => Hello 4
[2] => Hello World
)
[pid] => Array
(
[0] => 217
[1] => 342
[2] => 343
)
i want to iterate it like this (in one loop):
foreach ($ar['product_info'] as $item) {
echo $item['pname'];
echo $item['pid']
}
How can i do this? need help