It's for an online auction.
Users will buy tickets via a paypal link. Each ticket needs a unique number that has the user's name and email. If they buy 5 tickets, for example, there will be 5 entries with their name and email and a different number for each ticket.
Each ticket costs $18. 6 tickets are $100. A maximum of 360 tickets can be sold before the script stops.
The data should be stored in a text file on the server. No need to use mysql.
The user should get a confirmation email after the purchase with the numbers.