How to get some values in json to display? [duplicate]

Solution 1:

I would use a forach-loop to display the data here:

foreach ($data as $row) {
    echo $row[txn_date];
}

Instead of echo, you could use whatever you want to display the data, you could also add them to another variable or add html-tags around:

foreach ($data as $row) {
        $html = '<li>'.$row[txn_date].'</li>';
}