![]() |
mysql select
what is the lastpost in thread table format?
i need to select threads from the past 48 hours and where the lastpost is > 7 days i'm not sure the best way to do this. i have the following so far. Code:
$check=$vbulletin->db->query_read(" thanks for your help! |
The lastpost and dateline are in unix time, so you want to convert your "7 days" and "2 days" into seconds.
|
i think i got it
i'll try <= '" . (TIMENOW - ($days * 86400)) . "' |
That should work. :)
|
All times are GMT. The time now is 09:04 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:
|