Insert value in relational table
<p>Tables:</p>

<ol>
<li>Board(BID(PK), BoardName, date, Status)</li>
<li>Medium(MID(PK), MediumName, Date, status) </li>
<li>BoardMedium(BMID(PK), BID(FK), MID(FK))</li>
</ol>

<p>above is my table structre .I wanted to Take Name Of Board and name of medium from dropdown(already filled) and insert into BoardMedium table only BID and MID.user will provide Boardname and Mediumname based on these two value i have to check wheather it is available in BoardMedium table or not if not then insert into BoardMedium table only BID and MID.can any on help me to achieve the same .Thanks in advance...</p>
