Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8029111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:20:26+00:00 2026-06-05T00:20:26+00:00

i have a unserialized array like this Array ( [status] => 1 [msg] =>

  • 0

i have a unserialized array
like this

Array (
    [status] => 1 
    [msg] => Transaction Fetched Successfully 
    [transaction_details] => Array ( 
        [100002982] => Array ( 
            [mihpayid] => 4149968 
            [request_id] => 635788 
            [bank_ref_num] => NINETE.31845.28052012 
            [amt] => 3295.00 
            [disc] => 0.00 
            [mode] => CC 
            [retries] => 0 
            [status] => success 
            [unmappedstatus] => captured 
        ) 
    ) 
)

i want to parse this array
so that i can get the value to status ie Success

how i can do that

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:20:27+00:00Added an answer on June 5, 2026 at 12:20 am
    $success = $array['transaction_details']['100002982']['status'];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a multidimensional array in PHP like this: $array = array( Part1 =>
have a php code like this,going to convert it in to C#. function isValid($n){
I have an object in Javascript that looks like this function MyObject(){ this.name=; this.id=0;
I have a cookie which stores info in an array. This is for a
I have a serialized array that looks like $dec=Acetic Acid[1]=root&Ammonia[2]=root&Ammonium nitrate[3]=2&111[4]=root&Alcohol[5]=root&Bio plastic[6]=root&Black Powder[7]=root&Borax[8]=root&Bow[9]=root&Calcium Carbonate[10]=root&Calcium
This is a php question. I have an array of arrays: Array ( [1]
I have a multidimensional array of form data thats an been unserialized from YAML.
I have this serialized array but I have no idea how to get the
Have data that has this kind of structure. Will be in ascending order by
Have data that has this kind of structure: $input = [ { animal: 'cat',

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.