I can't get php to list each item from the arrays with
foreach($decodedData->data->array as $values)
    {
         echo $values->title . "\n";
While I'm trying it to list as such (I know my code isn't setup to list each variable, but I cant even list the title with my current code): Title 1, ID, URL-Title 2, ID, URL-Title 3, ID, URL
$decodedData array:
array(2) {
  ["data"]=>
  array(10) {
    [0]=>
    array(1) {
      ["node"]=>
      array(3) {
        ["id"]=>
        int(20)
        ["title"]=>
        string(6) "title"
        ["main_picture"]=>
        array(2) {
          ["medium"]=>
          string(57) "url"
          ["large"]=>
          string(58) "url"
        }
      }
    }
    [1]=>
    array(1) {
      ["node"]=>
      array(3) {
        ["id"]=>
        int(42249)
        ["title"]=>
        string(15) "title"
        ["main_picture"]=>
        array(2) {
          ["medium"]=>
          string(60) "url"
          ["large"]=>
          string(61) "url"
        }
      }
    }
    [2]=>
    array(1) {
      ["node"]=>
      array(3) {
        ["id"]=>
        int(44511)
        ["title"]=>
        string(12) "title"
        ["main_picture"]=>
        array(2) {
          ["medium"]=>
          string(60) "url"
          ["large"]=>
          string(61) "url"
        }
      }
    }
The relevant code:
    // Decoding JSON data
    $decodedData =
        json_decode($result, true);
    // Decoded form
    var_dump($decodedData);
    foreach($decodedData->data->array as $values)
    {
         echo $values->title . "\n";
    }
 
     
    