title: generate random number with php and then submit to database
body: <p>I was wondering how to generate a random 9 digit number with php after a html form submit.</p>
  
  <p>in english:</p>
  
  <p>I have a form on my site....which posts data to a database. I would like to add another function to the php file that will generate a number for every form submit (something like a unique id number for every user that submits the form)</p>
  
  <p>I can do all the database stuff. Just need to know how to generate the number.</p>