I am chosing an option from database using the field named as "name". since i have the name "supriya" 3 times in my database, it displays 3 times in my dropdown.
How do i restrict it by displaying the name only one time and once it is choosen, then it fetches all the 3 records having the name "supriya" and its id too.