title: PHP Way to generate and send to database a random number
body: <p>I want to have a PHP page with a <code>Generate Key</code> button, when the users click it, it generates a random and unique number and sends it to a database.</p>
  
  <p>Is it possible? Thanks!</p>