title: Php how to parse Json
body: <p>I am new in PHP can anyone please help me to parse JSON in php. </p>
  
  <p>here is my data. I want to get status which is present under 'transaction_details' array.</p>
  
  <pre><code>Array (
      [status] =&gt; 1
      [msg] =&gt; 1 out of 1 Transactions Fetched Successfully
      [transaction_details] =&gt; Array (
          [3685189ee69337520311]   =&gt; Array (
              [mihpayid]           =&gt; 403993715516628289
              [request_id]         =&gt; 
              [bank_ref_num]       =&gt; 3808401291372621
              [amt]                =&gt; 51000.00
              [transaction_amount] =&gt; 51000.00
              [txnid]              =&gt; 3685189ee69337520311
              [additional_charges] =&gt; 0.00
              [productinfo]        =&gt; OasisEstate
              [firstname]          =&gt; Test
              [bankcode]           =&gt; CC
              [udf1]               =&gt; 
              [udf3]               =&gt; 
              [udf4]               =&gt; 
              [udf5]               =&gt; 
              [field9]             =&gt; SUCCESS
              [error_code]         =&gt; E000
              [card_type]          =&gt; VISA
              [error_Message]      =&gt; NO ERROR
              [net_amount_debit]   =&gt; 51000
              [disc]               =&gt; 0.00
              [mode]               =&gt; CC
              [PG_TYPE]            =&gt; HDFCPG
              [card_no]            =&gt; 401200XXXXXX1112
              [name_on_card]       =&gt; Neeraj
              [udf2]               =&gt; 
              [addedon]            =&gt; 2017-09-19 13:23:58
              [status]             =&gt; success
              [unmappedstatus]     =&gt; captured
              [Merchant_UTR]       =&gt; 
              [Settled_At]         =&gt; 0000-00-00 00:00:00
          )
      )
  )
  </code></pre>
  
  <p>Thank you in advance.</p>