![]() |
Get thread posts
Hi
I am wanting to pull thread titles from 3 different sub forums. I know I need a querry like: SELECT `threadid` , `title` , `forumid` FROM `vb_thread` WHERE 1 AND `forumid` = 3 LIMIT 3 But how do I call that from a non vb page? |
you query is worng
$reqestedthreadid = "39"; //example to thread you want $query = $DB_site->query_first("SELECT * from " . TABLE_PREFIX . "thread where theadid='$reqestedthreadid'"); and for exsample : $threadtitle = $query['title']; echo "Thread title is $threadtitle"; hope it helps... |
All times are GMT. The time now is 12:01 AM. |
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:
|