title: How to add update, delete and view button in my php rows
body: <p>I want to add "update", "delete" and "view" in the other page button in the right side of the table rows of my php table. Please help me to add it. Here is my code:</p>
  
  <pre><code>&lt;?php
  $conn = mysqli_connect('localhost','root','','dbname');
  if(mysqli_connect_errno()){
      echo 'Failed to connect: '.mysqli_connect_error();
  }
  
  $query = "SELECT * FROM table";
  $results = mysqli_query($conn,$results);
  
  echo '&lt;table border="1"&gt;';
      echo '&lt;tr&gt;';
          echo "&lt;th&gt;Firstname&lt;/th&gt;";
          echo "&lt;th&gt;Lastname&lt;/th&gt;";
      echo '&lt;/tr&gt;';
  
      while($row=mysqli_fetch_array($results)){
          echo '&lt;tr&gt;';
          echo '&lt;td&gt;'.$row['Firstname'].'&lt;/td&gt;';
          echo '&lt;td&gt;'.$row['Lastname'].'&lt;/td&gt;';
          echo '&lt;/tr&gt;';
      }
  echo '&lt;/table&gt;';
  mysqli_close($conn);
  ?&gt;
  </code></pre>