Am i being a tard or what....
i have a big fat array of id's (ints)...
i want to select all of them from the database and then print out some info from each record in the db.
geddit?
the deal is, i have a search engine....which returns all the records which are relevant. it only returns their ID's.
$results_array = performSearch($sort_by, $exact_search, $search_where, $search_keyword);
then the page changes...blah blah....&& i then want to list all the records with those i'ds from the array.
any ideas? BUT i dont want to use a loop. i wanna do it within 1 sql query if possible.
Thanks