How do I use for each to access and print the participant name. The Json object is \"particpants:name\" and it gets populated when uploaded with a tokenized file. I know the tok
You are supplying the wrong index in this code
foreach($this->jsonObj->{'participants'} as $index => $value) { // $this->html.='' . $this->jsonObj->participants[$value].' '; // instead $this->html.='' . $this->jsonObj->participants[$index].' '; //or //$this->html.='' . $value.' '; } // foreach