Hi shivom,
As leatherback said, without more information about where you are stuck, we can't do much to help.
a couple of general pointers though:
1) The way a user will input all his data will most likely be through a HTML form - read about them here.
2) You will most likely be storing his information in a MySQL database - see here and here.
In the MySQL database wou will have a table containing multiple fields, each of which will store 1 detail about every user in the database. You will want an extra field to store the confirmation number.
Edi: Hope that helps.