
05-17-2004, 11:39 AM
|
|
|
Join Date: Aug 2003
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by filburt1
Use the IN construct. Assemble all of the threadids in question and then run the single query:
[sql]
SELECT dateline, pagetext, threadid, postid FROM {TABLE_PREFIX}post WHERE threadid IN ($threadids)
[/sql]
Implode the array in question using commas to the variable $threadids.
|
Perfect!
Thanks filburt
|