The Arcive of vBulletin Modifications Site. |
|
|
#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') . '";');
}
|
|
#2
|
||||
|
||||
|
PHP Code:
|
|
#3
|
||||
|
||||
|
heh
thankyou!!!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|