title: Put button side by side in while loop in css
body: <p>i am begineer on PHP but it can be so easy for experience people, but i am tried to learn. i just want to add button side by side, but according to my codes, which is one under the other.</p>
  
  <pre><code>while ($row_all = mysqli_fetch_assoc($result)) 
                  {
                        echo '&lt;form method="post"&gt;';
                          echo '&lt;u&gt;'.$row_all["product_name "].'&lt;/u&gt;';
                          echo ' &lt;button name="add_to_cart"  class="btn3" 
                          value='.$row_all['urun_adi'].' 
                          type="submit"&gt;'.$row_all["urun_adi"].'&lt;/button&gt;';
  
                            echo '&lt;/form&gt;';
  
  
  
                  }
  </code></pre>
  
  <p>CSS code</p>
  
  <pre><code>  .btn3{
  position: relative; 
  top: 150px;
  left: 1280px;   
  width: 150px;
  height: 100px;
  border:5px solid white; 
  color:yellow; 
  font-weight:bold; 
  font-family:Verdana; 
  font-size:14px; 
  background-color: green;
   }
  </code></pre>