title: Oracle PHP return columns from multiple tables gives index error
body: <p>I am using oracle 19c with php 7.4.6 and I know how to retrieve columns from a select query using only one table without any tables.</p>
  <p>However, when I try a query that have select joins on say 4 tables, I have a problem with it using PHP where is says undefined index but when running the query using a client, it was fine.</p>
  <p>PHP Notice:  Undefined index: cat_breed in X:.....</p>
  <p>why us cat_breed undefined? The dog columns were fine.</p>
  <p>For example, my query is:</p>
  <pre class="lang-php prettyprint-override"><code>$thequery = 'SELECT dog_breed, dog_ancestor, dog_dna, cat_breed, cat_ancestor, cat_dna, bird_breed, bird_ancestor, bird_dna, fish_breed, fish_ancestor, fish_dna FROM dogs, cats, birds, fish where dog_breed = :thebreedid';
  $stid = oci_parse($conn, $thequery);
  $the_breed = '1234567';
  oci_bind_by_name($stid, ':thebreedid', $the_breed);
  oci_execute($stid);
  
  while (($row = oci_fetch_array($stid, OCI_ASSOC+OCI_RETURN_NULLS))  != false) {
              echo &quot;&lt;tr&gt;\n&quot;;
              echo &quot;&lt;td&gt;&quot; . $row['dog_breed'] .&quot;&lt;/td&gt;&quot;;
              echo &quot;&lt;td&gt;&quot; . $row['dog_ancestor'] .&quot;&lt;/td&gt;&quot;;
              echo &quot;&lt;td&gt;&quot; . $row['dog_dna'] .&quot;&lt;/td&gt;&quot;;
              echo &quot;&lt;td&gt;&quot; . $row['cat_breed'] .&quot;&lt;/td&gt;&quot;;
              echo &quot;&lt;td&gt;&quot; . $row['bird_breed'] .&quot;&lt;/td&gt;&quot;;
              echo &quot;&lt;/tr&gt;\n&quot;;
         }
      oci_close($conn);
  </code></pre>
  <p>Thanks!</p>