Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bb_query: get topics started within a date range?

I did some more digging, and it looks a way to do is to not use BB_query at all, but to use $bbdb->get_results instead:

$startdate=”20070602103049″;

$enddate=”20080212090232″;

$topics = $bbdb->get_results(“SELECT * FROM $bbdb->topics WHERE topic_start_time BETWEEN $startdate AND $enddate ORDER BY topic_start_time DESC”);

Skip to toolbar