title: Echoing column data from each row, using mysqli loop, breaking after 15 results
body: <p>I'm trying to gather data from my SQL database so I can make a custom defined table in html and insert each cell (from each row) data from a column. </p>
  
  <p>I would like to input the result as a simple echo command (see example). I previously tried to do this with $i=0, then using $i++ to increment within the loop. Now when I echo the displayed data just prints 'Array'. My logic is under question so I need a second (sounder) opinion.</p>
  
  <p>Connection then:</p>
  
  <pre><code>&lt;?php
  $query  = "SELECT * ";
  $query .= "FROM Form ";
  $query .= "ORDER BY ID DESC";
  $all = mysqli_query($connect, $query);
  if (!$all) {
    die("Database trouble.");
  
  }
  ?&gt;   
  &lt;?php
  while($row = $all-&gt;fetch_assoc()){
  ?&gt;
  </code></pre>
  
  <p>then within each area of the html I wanted to insert something like:</p>
  
  <pre><code> &lt;?php
   echo $row['box1']-&gt;num_rows;
   ?&gt;
  </code></pre>
  
  <p>then another entry,</p>
  
  <pre><code> &lt;?php
   echo $row['box1']-&gt;num_rows;
   ?&gt;
  </code></pre>
  
  <p>etc.</p>
  
  <pre><code> &lt;?php
   }
   ?&gt;
  </code></pre>
  
  <p>then free results and stop the connection. I can echo all the data from the table, but finding it hard to echo individual data without a long unclear script. This seems a basic requirement when echoing data, but haven't found a clear example anywhere.
  Ideally I want a clean code that can be manipulated with variables from a combobox style drop down list.
   Thanks in advance.</p>