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

  • Home
  • SEARCH
  • 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 6847675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:46:25+00:00 2026-05-27T00:46:25+00:00

I am using Martin Maly’s Paypal Library and everything works properly.The thing I could

  • 0

I am using Martin Maly’s Paypal Library and everything works properly.The thing I could not manage to do is I get something like this in the returning page;

   Array
(
    [TOKEN] => EC-49D73912N5410881H
    [TIMESTAMP] => 2011-11-24T10:59:46Z
    [CORRELATIONID] => 328dc8f80aac
    [ACK] => Success
    [VERSION] => 52.0
    [BUILD] => 2271164
    [EMAIL] => hello_1321870042_per@blablabla.com
    [PAYERID] => QZNN94QVUSL88
    [PAYERSTATUS] => verified
    [FIRSTNAME] => Test
    [LASTNAME] => User
    [COUNTRYCODE] => FR
    [CUSTOM] => 20|EUR|
)

And I want all these data to be printed seperately such as;

echo $array['EMAIL'];

This is the first time I work with arrays and I have no idea how to deal with it?
I would be very glad if anyone out here help me.
Thanks.

  • 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-05-27T00:46:26+00:00Added an answer on May 27, 2026 at 12:46 am

    You can either do:

    print_r($array);
    

    or if you want it more readable:

    foreach ($array as $key => $value) {
        echo "$key: $value\n";
    }
    

    or this if you want to output some array values but not others:

    $output_these_keys = array('FIRSTNAME', 'LASTNAME', 'CUSTOM');
    foreach ($array as $key => $value) {
        if (in_array($key, $output_these_keys)) echo "$key: $value\n";
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading video on twitvid using its official php library. http://www.martin-gardner.co.uk/twitvid/twitvid.class.example.php#embedvideo But when
I'm using Eric Martin's sweet 'simplemodal' jQuery plugin . It works wonderfully and would
I am reading Martin Odersky's Programming in Scala , and I have been using
I'm using the Martin Milesich TimePicker, which is basically the jUI datepicker with hour/minute
We have an application that creates several threads using the pthread library. As we
I am using Martin Orth's ColdFusion API for Google Adwords. I have been able
I'm using the SimpleModal by Eric Martin (http://www.ericmmartin.com/projects/simplemodal-demos/) at www.1tryten.com/checkout.php. The code for loading
I am using Eric Martin's SimpleModal plugin 1.4.1 with JQuery 1.4.2 to display basic
I am using Eric martin simple modal (1.3)to show some dynamic data (table) this
I have created a custom UITabBarController by using Martin's tutorial . My subclass FSTabBarController

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.