I am fairly new to php and have been experimenting with the mt. Gox (bitcoin exchange) API, but I do not understand the array result. Can someone explain the appropriate way to echo or print the [buy] element in php?
Thanks!
Array
(
[result] => success
[data] => Array
(
[buy] => Array
(
[value] => 945.02000
[value_int] => 94502000
[display] => $945.02000
[display_short] => $945.02
[currency] => USD
)
[sell] => Array
(
[value] => 949.00000
[value_int] => 94900000
[display] => $949.00000
[display_short] => $949.00
[currency] => USD
)
[now] => 1389812614875071
)
)