We have a list of IDs, for example:
11, 22, 55, 99, 187
We have a table with a field "id".
We basically want to select ALL results where the id equals 11, 22, 55, 99, 187
What would be the best way to do a mySQL query like this?
Instead of doing WHEREid= '11' OR '22'.....
We are using this with PHP, as we have a list of IDs and are wanting to select the results using these IDs with a mysql query.