title: Make a new line in html table row from fetching in database
body: <p>I want to display image along with the text and from fetching from the database using php
  here's the code</p>
  
  <pre><code>&lt;table id = "menu-container" border = "2"&gt;
      &lt;caption&gt;Main Dish&lt;caption&gt;
      &lt;tr&gt;
      &lt;?php
          if($result-&gt;num_rows &gt; 0) 
          {                                   
              while($row = $result-&gt;fetch_assoc()) 
              {                                               
      ?&gt;                    
              &lt;td class = "wrapword"&gt;
  
                  &lt;img src = "data:image/jpeg; base64 , &lt;?php echo base64_encode($row['product_image']); ?&gt;"
                  height = "290" width = "350"&gt;
                  &lt;br&gt;
                  &amp;nbsp;Name: &lt;?php echo $row['product_name']; ?&gt;
                  &lt;br&gt;
                  &amp;nbsp;Price: Php&lt;?php echo $row['product_price']; ?&gt; 
                  &lt;label id = "add-to-list"&gt;Add to list&lt;/label&gt;
  
              &lt;/td&gt;
  
      &lt;?php
              }
          }
          else
          {
              echo "No Menu Found";
          }
      ?&gt; 
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/5eTaY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5eTaY.jpg" alt="enter image description here"></a></p>
  
  <p>and here's the picture or the output of that code
  i want to make a new line when the table row inside when table data has exceed the limit of 4 and the other data will go the bottom or make a new line is that possible? I hope my explanation is clear.</p>