View Single Post
Old 18-03-2008, 13:18   #2 (permalink)
rob*
you want it to do what!?
 
rob*'s Avatar
 
Join Date: Jan 2008
Posts: 38
you could use a WHERE ... IN sql statement

Code:
SELECT * FROM table WHERE id IN(first_id, second_id, third_id...)
set up a foreach loop and just output the array values separated by a comma between the parenthesis.

HTH
  Reply With Quote