You need to combine a serverside language (php, asp, perl) with a database. Then you use the server side language to create forms that accept data and store it in the database, and then you use the serverside language to access and search through the database to pull out the information you need.
But, you don't have the skills to do what needs to be done at your current level. This isn't exactly an easy job.