Axe
01-11-2003, 11:52 PM
Hey there,
Now, I know I can do...
mysql> select threadid, title, dateline from thread where forumid="40";
To view all the threads in a particular forum.
But, how can I request all POSTS (threadid, postid, username, userid title, dateline) in those threads in a single MySQL query?
Further to this, how can I do the above request but limit it to THREADS that started (and not when the last post was made to those threads) within the last XX days?
Thanks :)
Now, I know I can do...
mysql> select threadid, title, dateline from thread where forumid="40";
To view all the threads in a particular forum.
But, how can I request all POSTS (threadid, postid, username, userid title, dateline) in those threads in a single MySQL query?
Further to this, how can I do the above request but limit it to THREADS that started (and not when the last post was made to those threads) within the last XX days?
Thanks :)