Jump to content

Need To Echo Some Values


nadeeshan

Recommended Posts

I have a php function and I am getting following output when I print it using print_r($result); I need to echo some values separately. I unable to get them as an array. Please help me to do it.

 

stdClass Object ( [result] => stdClass Object ( [accountStatus] => 0 [accountType] => IN [appId] => SONG [dateTime] => 2012-10-25 12:57:41 [domainID] => ABC [transResult] => 0 [transactionID] => 5985 [limits] => 15.52 [amount] => 0 ) )

 

Ex: I need to get the limits value separately.

 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/269890-need-to-echo-some-values/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.