i want to update mysql table from kite- >positions() response. Please suggest i am not able to retrieve data from obj class my code is
$array= $kite->positions(); //print_r($kite->positions()); - it is showing result but not giving any result in below script foreach ($array as $obj){ echo "Product : " . $obj->product . "";
foreach($array->net as $obj) { ...
Also, there is no "net_buy_amount_m2m" field. It'd just be $obj->buy_m2m.