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 8474871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:44:29+00:00 2026-06-10T17:44:29+00:00

This is driving me nuts because I’m being sent a form post that includes

  • 0

This is driving me nuts because I’m being sent a form post that includes a name-value pair that looks like this:

&transaction[0].id=5TH49195SG993903B

In my php receiver file I’m trying to get the value thusly:

$txnid =  $_POST["transaction[0].id"];

Yet it comes in blank every time. This is from a paypal IPN transmission. I’m not tagging this question for paypal because I don’t think it’s related to paypal. I can log into paypal and see what they say is the form post, so evidently they are sending that (along with lots of other values).

Am I making some kind of stupid mistake? I’m thinking this has something to do with the [0] indexer because I can successfully get other form values in this same POST, when they don’t have an indexer on them. Such as:

$buyer_email =  $_POST["sender_email"];

What am I doing wrong?

  • 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-10T17:44:31+00:00Added an answer on June 10, 2026 at 5:44 pm

    if you try var_dump($_POST) you will get output like this:

    array(1) { ["transaction"]=> array(1) { [0]=> string(17) "5TH49195SG993903B" } } 
    

    Therefore in order to catch that param you need to use $_POST['transaction'][0];

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Alright, this is driving me nuts because my regex is working on Rubular, but
This is driving me nuts. I think it is because of some connection string
This has been driving me nuts all day. I have a weird bug that
This is driving me nuts. Here is some HTML and CSS that I have
This is driving me nuts: WebRequest request = WebRequest.Create(url); request.Method = POST; request.ContentType =
Ok, this one is driving me nuts. I have a backend file uploader that
This is driving me nuts. I have two tables that I am attempting to
this has been driving me nuts because i know theres a simple solution but
I know jQuery pretty well. This one is driving me nuts because it's SO
This is driving me nuts, I have a login function that checks to make

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.