The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Bascially i want to print all rows from a mysql table in a template, however only the last row in the table is shown when the page is loaded. Whats wrong with my code?
Code:
$historys = $DB_site->query("SELECT title, user, year, id FROM `history`"); while ($history = $DB_site->fetch_array($historys)) { $getbgrow = getrowcolor(); eval('$historypart = "' . fetch_template('index_english_history_list') . '";'); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|