![]() |
Lets hope someone can help me!
Basically, i am trying to select from the database, the top 10 most posts, with the most replies, which expire after 7 days regardless, ie, only posts before 7 days ago are shown, easy you might say? well i dont actually want it 7 days from the start of the THREAD, i want it 7 days from the LAST reply. However, for the life of me, i cant think of a way to do it. The code i tried-> Code:
$replycountquery = "SELECT thread.*, post.*"; code ive also tried in testing, this works, however has no date stuff, as no post table is introduced. Code:
$replycountquery = "SELECT thread.*"; I just wish i had more SQL books! :( |
Try:
Code:
SELECT thread.*, post.* FROM thread |
All times are GMT. The time now is 01:38 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|