title: Need to create and send a unique id with each request
body: <p>I am integrating payment gateway(CCavenue) on my website and require to send a unique order id with each request.</p>
  
  <p>Here is the sample code</p>
  
  <pre><code>&lt;form method="post" name="" action=""&gt;
  
  &lt;tr&gt;
  
  &lt;td&gt;&lt;input type="hidden" name="order_id" value=""/&gt;&lt;/td&gt; //This must be a unique Id created on your website
  &lt;/tr&gt;
  
  &lt;tr&gt;
  &lt;td&gt;&lt;input type="hidden" name="amount" value=""/&gt;&lt;/td&gt;
  &lt;/tr&gt;
  
  
  &lt;td&gt;&lt;INPUT TYPE="submit" value="Paynow"&gt;&lt;/td&gt;
  &lt;/form&gt;   
  </code></pre>
  
  <p>Can anyone let me know how this can be achieved using database or any other way . My web host support php. </p>