Zelda-King
02-21-2006, 02:05 PM
I've been attempting to setup a page that includes the display of ALL v3 arcade games (just the titles as an easy reference to what is installed).
I'm playing with the following query for it at the moment;
// Gamecount list
$list = $db->query_read("SELECT arcade_games.title FROM " . TABLE_PREFIX . "arcade_games AS arcade_games WHERE gameid IS NOT NULL GROUP BY arcade_games.title ORDER BY title ASC ");
while ($glist = $db->fetch_array($list)) {
eval('print_output("' . fetch_template('arcade_list') . '");');
However, when I bring it up in the template with $glist[title], only the first entry is shown. Any insight as to what I'm lacking?
I'm playing with the following query for it at the moment;
// Gamecount list
$list = $db->query_read("SELECT arcade_games.title FROM " . TABLE_PREFIX . "arcade_games AS arcade_games WHERE gameid IS NOT NULL GROUP BY arcade_games.title ORDER BY title ASC ");
while ($glist = $db->fetch_array($list)) {
eval('print_output("' . fetch_template('arcade_list') . '");');
However, when I bring it up in the template with $glist[title], only the first entry is shown. Any insight as to what I'm lacking?