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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:16:51+00:00 2026-06-05T18:16:51+00:00

( [addF] => stdClass Object ( [0] => stdClass Object ( [productID] => 33

  • 0
(
[addF] => stdClass Object
    (
        [0] => stdClass Object
            (
                [productID] => 33
                [fQty] => 11
                [fPW] => 11
                [fP] => 
                [fH] => PVC
                [fB] => SideBelt
                [fP] => Single Pleat
                [fPanelT] => stdClass Object
                    (
                    )

            )

    )

[addWP] => stdClass Object
    (
    )

[addRBC] => stdClass Object
    (
    )

[addRB] => stdClass Object
    (
    )

[addT] => stdClass Object
    (
    )

)
{"ErrorMessage":true} 

The above output is base on the follow code below.
$arrOutput[“ErrorMessage”]=print_r($objData);
I have use json to pass the array to PHP but i can’t get the data.

i try to set the data but i have no value.

$ProductID=isset($objData->allData->addF[0]->productID) ? $objData->allData->addF[0]->productID : "123";

i tried to print_r will return true print will output 1

$objData->allData

it output 1

$objData->addF 

also output 1

i don’t understand y i can’t set the value after i have decode it.

$objData=json_decode(stripslashes($Data));

Jquery part

allData.addF=addF;
    allData.addWP=addWP;
    allData.addRBC=addRBC;
    allData.addRB=addRB;
    allData.addT=addT;
    //convert the data to json
    var dataString = $.toJSON(allData);
    $.post('test.php',"Data="+escape(dataString),function(data)
    {
        var obj=$.parseJSON(data);
        alert(obj.ErrorMessage);
    });

I need help to retrieve the data from it.

  • 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-05T18:16:53+00:00Added an answer on June 5, 2026 at 6:16 pm

    $ProductID=isset($objData->allData->addF->{“0”}->productID)

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

Sidebar

Related Questions

I have BaseClass List Public Class Package <XmlElement(OBJECT)> Public List As List(Of baseobj) Public
I am experimenting with PyClips and I want to integrate it tightly with Python,
I was trying to expand upon a tutorial I found here about creating a
I am trying to fix the size of the Hashtable with following code. Hashtable
I have git repositories rA and rB, I would like to copy only specific
I have this problem: I have a datagridview that reads the data from a
I have created a wedsite using MVC 2 and C#. one of the pages
<script language=VB runat=server> Public Data As String = Public Height As Byte = 25
I need to implement an ArrayList which can hold like person records. I can
First off - I haven't had much experience with Java yet, and I'm a

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.