Thread
:
PHP/MySQL Query Help
View Single Post
18-03-2008, 13:18
#
2
(
permalink
)
rob*
you want it to do what!?
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
rob*
View Public Profile
Send a private message to rob*
Find More Posts by rob*