title: After MySQL update display only updates after refresh
body: <p>Once I update MySQL and return to the display - being a SELECT, UPDATE or Sort sometimes the display will not update the results, which means I need to refresh the browser. It would seem that the MySQL DB does not update in time before returning to the display.</p>
  
  <p>Hope I have made myself clear.</p>
  
  <p>Is there away to delay the time before returning to the display from the update. </p>
  
  <pre><code>function getJobsResult()
  {
    require "connection.php";
    $mysql_query = "SELECT * FROM Job"];
  
    $result = mysqli_query($conn,$mysql_query) or die('This is the die query error');
  
  //check the result
  
  
    if(mysqli_num_rows($result)&gt;0)
    {
      while($row = mysqli_fetch_array($result, MYSQLI_ASSOC))
          {
  
          $JobId = $row["job_id"];
          $date =$row["date"];
          $number =$row["number"];
          $street =$row["street"];
          $town = $row["town"];
          $city = $row["city"];
          $postcode = $row["postcode"];
          $eta=$row["eta"];
  
         $longlist .= $JobId.",".$number.",".$street.",".$date.",".$town.",".$city.",".$postcode.",".$eta."**";
  
      }
  
       return $longlist;
  
      }
      mysqli_close($conn);
  
  }
  </code></pre>