Php , my sql and jquery
I have a table in my mysql database as studentname.
I made an array in javascript as var array1=["john","sam","peter","kelvin"];
I populated select box with these array values.
if the table studentname contains name like sam and peter.
Now i want to populate the select box with the values john and kelvin only, because sam and peter are already present in database.
How i am supposed to do this???

Php , my sql and jquery
===

I have a table in my mysql database as studentname.
I made an array in javascript as var array1=["john","sam","peter","kelvin"];
I populated select box with these array values.
if the table studentname contains name like sam and peter.
Now i want to populate the select box with the values john and kelvin only, because sam and peter are already present in database.
How i am supposed to do this???
