Hi i have an array coming from json data of placed order items in my api in this form. let's suppose this example :
[items] => Array (  => stdClass Object ( [item_id] => 392 [name] => ketchup 20g [qty] => 2 )  => stdClass Object ( [item_id] => 393 [name] => Powder [qty] => 1 ) )
-------------php code for dumping array data on screen -------
$result= json_decode($result); echo "<pre>"; print_r($result); echo "</pre>";
........... Basically i wants to fetch all order items placed by customer in one order.
this code is returning one item name at a time manually ,but let's suppose if one order has multiple items , how can i fetch it through loop? please guide