I want to know is this practically possible in sql(using php as server-side), where in you have an array of values(numbers), and you try to retrieve data based on values ins
Yea you will have to you use following syntax
SELECT 'value' IN (array)