Don't reinvent the wheel. Search for and modify if necessary. There are surely several scripts that exist and interact with a database that would be suitable for your needs.
Once you are concerned with collecting money though you will have to think about how that money will be collected and you are then likely looking at using a secure server package from a host. That will cost you extra to run.