title: I want to create html cards with data from DB
body: <p>I want to create html cards from a db.
  I created num_rows that count how many cards it will make, but when I fetch and then echo it only shows the first row. How do I show all rows?</p>
  
  <pre><code>    $cas = 0;
      while($cas &lt; $number){
          $cas++;
          echo "
      &lt;div class='tbook' align='center'&gt;
        &lt;div class='tr'&gt;
         &lt;div class=''&gt;$name&lt;/div&gt;
         &lt;div class=''&gt;$role&lt;/div&gt;
         &lt;div class=''&gt;$admin&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  ";
      }
  </code></pre>