title: Show changes after mysql update to database
body: <p>For my personal project, I'm trying to make a point system. Basicly what I want to do is: Click a button (Jquery) and then send a query to the database, and finally show the user the points that are automaticly updated. I figured I could use ajax.</p>
  
  <pre><code>$(this).html('Thank you for granting EXP!');
  var dataString = 'username=' + username+ '&amp;name='+ name + '&amp;count=' + count + '&amp;message_id=' + message_id;
  
      $.ajax({
      type: "POST",
      url: "index.php?&amp;page=profile",
      data: dataString,
      success: function() {
          $('#skills').load('./modules/skill_table.php');
      }
      });
  </code></pre>
  
  <p>This Ajax request requests the right page. On that page there is a MySQLi Query, which also executes fine. The problem is that I want to reload the correct div displaying the points AFTER I done the query. When it reloads the div I don't see any changes. Any suggestions on what I could do? I'm new to ajax calls like this. I could do something with the (data) response but does that mean I have to writhe a seperate php file for just this request?</p>
  
  <p>EDIT: The code above works. It executes the MySQL Query and updates the database. the .load(); function ALSO WORKS! when I try .load('someotherfile.php'); It display the other file. The problem is: when I try to reload the current module (skill_table.php) It displays the old values and not the updates ones. I hope this explanation is a little bit better. </p>
  
  <p>It reload the skill_table.php module with the new database values, but it shows the old ones.</p>