$dingx = $vbulletin->db->query_first("SELECT * FROM ding"); // ##### Lets wrap it up and display the results ##### eval('$dingx = "' . fetch_template('ding_bits') . '";'); eval('print_output("' . fetch_template('ding') . '");');
$dingx = $vbulletin->db->query_read("SELECT * FROM ding"); while ($ding = $vbulletin->db->fetch_array($dingx)) { echo $ding['userid'], $ding['charname'], $ding['charlvl']; } // Finish up. eval('$dingx = "' . fetch_template('ding_bits') . '";'); eval('print_output("' . fetch_template('ding') . '");');