Displaying Table contents

Hello guys.. Please help me in displaying the contents of the table. I have the following in my database: 3 radio buttons (siteName/siteSequence) each siteSequence has the following select options (siteTemplate/siteTemplateSequence) Example:

For every siteList(radio button), it will display the corresponding siteTemplate

In the above code, the 3 buttons are displayed and each has their select options, but the contents of each options does not corresponds to each siteSequence, instead it displays all the siteTemplate for each select options (A,B,C,D,E,F,G,H,I)..

How will I connect the siteSequence to the siteTemplate so that it will display only the corresponding siteTemplate for each siteName?