stdClass Object
(
[net_type] => Net 1
[No of Windows] => 2
[0] => stdClass Object
(
[Windows1] => stdClass Object
(
[Width1] => 20
[Height1] => 10
)
[Windows2] => stdClass Object
(
[Width2] => 40
[Height2] => 15
)
)
[Pricing/sq ft] => 20
[Total Area] => 2
[Total Price] => 5
)
I know to get value of net_type:
$details_decode = json_decode($details);
echo "details==".$details_decode->net_type;
But how to get value of Width1 i.e:
echo "windows 1==".$details_decode->Windows1['Width1'];
$details_decode[0]->Windows1->Width1$details_decode->{'0'}->Windows1->Width1