The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I am having a couple problems.
1. How do I get this code to loop more then once. As it is now, it only displays 1 entry and I dont know why. Code:
//Display The News $newsquery = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "home_news"); while ($news = $vbulletin->db->fetch_array($newsquery)) { $newstitle = htmlspecialchars_uni($news['newstitle']); $newstext = htmlspecialchars_uni($news['message']); $tid = $news['threadnum']; eval('$home_newslist = "' . fetch_template('home_newslist') . '";'); } eval('$home_news = "' . fetch_template('home_news') . '";'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|