Hi Vaidya:
Do you need the unique number to show up on the copy of the form that is emailed to you as well? Does the number need to be stored in a db or anything? Does it need to be sequintal?
If you just want a random number, you can use the rand() function: http://us2.php.net/rand
If it just needs to be unique, you can use a timestamp using time() (http://us2.php.net/manual/en/function.time.php) which will output the number of seconds since the epoch, so unless 2 users submit the form in the same second, the number will be unique.