Hi,
I need to get data from a table for 5 up to 40 or 50 rows.
What is the best way to get this data:
- go through the array with all selected id's and execute a query for each id individually.
or
- put all id's in a WHERE statement like '.....WHERE id=$id[0] OR id=$id[1] OR id=$id[2] OR etc...'
Can mysql handle such a long query and is it a proper way to do this?
Thanks,
Raoul