Table scritping

can any one help me in writing script to add the ‘dropdwon selected data’ into the table.