title: How to implement specific url for search query like Google using normal webapp running on PHP and MySQL?
body: <p>In Gmail or Google search itself, </p>
  
  <p>I believe whenever you do a search, a unique url is generated so that you can always press the back button on the browser without worry.</p>
  
  <p>You can also bookmark the unique url or send it and other people will see the same thing.</p>
  
  <p>I want to implement the same setup for an intranet web app built using PHP and MySQL.</p>
  
  <p>I believe that I need at least the following table:</p>
  
  <pre><code>search_results
    id PRIMARY char(36)
    query TEXT
  </code></pre>
  
  <p>After that I have no real clue as to how to implement this. Preferably, I can cache the results if they do not change.</p>
  
  <p>Any advice would be helpful. Thank you.</p>