RobandBigarecool
New Member
findParent() function returns the following array. \[code\]Array( [0] => Array ( [order_item_id] => 3 [order_id] => 2 [product_id] => 77 [quantity] => 1 [price] => 268.00 ))\[/code\]I want to get 2 in [order_id].I tried the following but it does not work.\[code\]$childlessorder = findParent($order_id);$order_id = $childlessorder['order_id'];\[/code\]Can anyone tell me how to get data in an array?