Chuckie
06-01-2004, 04:15 PM
vb Advanced cmps version.
I would like to figure out how I can pull 2 items from each forum in my news topic list.
Example:
At present I list 4 news forums on my home page. It pulls 4 of the latest topics from the accumulation of the 4 forums. Say 1,2,3,4
What I want to do is:
Pull 2 latest posts from forum 1, 2 from forum 2, 2 from forum 3 and 2 from forum 4. for a total of 8 posts.
Is this to much of a rewrite or is the a SQL statement I could input in the index page?
I would like to figure out how I can pull 2 items from each forum in my news topic list.
Example:
At present I list 4 news forums on my home page. It pulls 4 of the latest topics from the accumulation of the 4 forums. Say 1,2,3,4
What I want to do is:
Pull 2 latest posts from forum 1, 2 from forum 2, 2 from forum 3 and 2 from forum 4. for a total of 8 posts.
Is this to much of a rewrite or is the a SQL statement I could input in the index page?