hi
i'm developing a webpage.page contains various fields like collegename ,studentname and so on.collegename field will be a dropdown box and it gets option from backend table collegedetails.every collegename will have a unique collegeid in collegedetails table.after selecting collegename and filling necessary fields in webpage the details should be stored in data base but instead of collegename ,college id should be stored in another database table called studentdetails.so how to get collegename and college id in key value pairs