Jump to content

sanchez77

Members
  • Posts

    139
  • Joined

  • Last visited

Everything posted by sanchez77

  1. that was it. I took that id from another generated array and volia. Thanks kicken. Much appreciation.
  2. So, i think that it's array in an array and then an object, so to go to array then object i would use: $array[0]->x; but how you go to the same array's array? this didn't work either. $array[0]->array[1]->x;
  3. So here is my array: array(1) { ["84EA0353-58EB-E311-A8B1-001D09E7525D"]=> array(1) { [0]=> object(stdClass)#7 (1) { ["data"]=> array(2) { ["amt"]=> string(7) "100.000" ["unit"]=> string(3) "BUC" } } }} I'm trying to set the variable $x to = amt. I've tried $x= $ArrayMap->amt; this but it comes up null. I've also tried: $x= $ArrayMap['amt']; But both come up NULL. Any ideas on what I'm doing wrong? Thanks, sanchez
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.