hello guys, i am trying to parse a array result rest that i got from kraken
i would like to know how can i access a key on the array that was returned by thir api, bellow is the response from the api.
    => Array

    [result] => Array
            [descr] => Array
                    [order] => sell 1.12300000 XBTUSD @ limit 120.00000

            [txid] => Array
                    [0] => OAVY7T-MV5VK-KHDF5X


i would like to extract the txid from the result set i tried this away but did not work
echo array['result']['txid'];

can some one help me out here ?
thanks in advance.
LVL 29

Administrative Comment

by:Andrew Leniart
Hi Rafael,

Welcome to Experts Exchange.

What you have done is made a "Post" here.  To get expert help, you need to "Ask a Question" so that more experts are able to see that you need help. Click the Big blue button near the top of your screen.

Ask a Question

The following link also explains more about asking for help at Experts Exchange...

Hope that's helpful.

EE Topic Advisor

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month