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