title: Request a data from table and display in html
body: <p>My php code is this :</p>
  
  <pre><code>&lt;?php
  $con=mysqli_connect("host","user","pass","db_name");
  // Check connection
  if (mysqli_connect_errno())
    {
    echo "Failed to connect to MySQL: " . mysqli_connect_error();
    }
  $result_set = mysqli_query($con,"SELECT points FROM total WHERE id = 1");
  $row = mysqli_fetch_assoc($result_set);
  $old_total = $row['points'];
  $new_total = $old_total + $_REQUEST['total'];
  mysqli_query($con,"UPDATE total SET points = $new_total WHERE id = 1");
  mysqli_close($con);
  ?&gt;
  </code></pre>
  
  <p>So now i need the $new_total to be shown on my html page, help me please.</p>
  
  <hr>
  
  <p>This is the final code i used:</p>
  
  <pre><code>&lt;?php include 'something.php'; ?&gt;
  &lt;h3&gt; &lt;?php echo $new_total?&gt; &lt;/h3&gt;
  </code></pre>