title: how to create next/previous buttons to query MySQL rows by date?
body: <p>I assume, I need Ajax and jQuery to show new data based on date after clicking a button.</p>
  
  <p>What I want to do is something like this:</p>
  
  <blockquote>
    <p><strong>&lt;&lt; January 15</strong>................today: January 16..............<strong>January 17 >></strong></p>
    
    <p>Data4</p>
    
    <p>Data5</p>
    
    <p>Data6</p>
  </blockquote>
  
  <p>When I click "January 17" <em>data 4-6</em> should change to <em>data 7-9</em> because <em>data 7-9</em> is added to the MySQL database on January 17.</p>
  
  <p>Of course I have a code to query the database and show today's data, but I am going crazy about not being able to reload the page with new data.</p>
  
  <p>I tried to search the whole internet, but nothing I can find fits my needs.</p>