在后端链接两个html表单并从mysql获取数据

I've to insert two html forms in a webpage, One is a dropdown which consists of the names of the attributes of a phone directory, and a text field where we can enter any value of the corresponding attribute(selected in dropdown) and generate the search results from the database. I am done with the front end and I've created a database as well. I really don't have any idea about that. Can someone help me with linking both the forms and generating results in tabular format?

You will require PHP or another similar server-side scripting language to do that.

Please have a look at this tutorial on W3Schools.com

Languages required: HTML, PHP, SQL.