I Have an array with all the id's in my MySQL DB. In second array, have ID's which I need to insert into the same table. I need to check if the Id's which I am going to insert are present in first array or not and then insert it into the DB.
Help me out in finding the unique values.