krohnathlonman
04-10-2004, 09:21 PM
I want to display a list inside of a PHP page.
Here's my Query, I just want display the list.....
<?php
$guide = $DB_site->query("SELECT id, subject, subject_2 FROM amartin WHERE category = 'guide' ORDER BY subject ASC");
while (list ($id, $subject, $topic) = mysql_fetch_row($guide)) {
echo "<tr><td width=50%><a href=articles.php?aid=$id&page=1&topic=$topic>$subject</a></td></tr>\n";
}
?>
Whats the proper way of doing this in VBulletin?
Here's my Query, I just want display the list.....
<?php
$guide = $DB_site->query("SELECT id, subject, subject_2 FROM amartin WHERE category = 'guide' ORDER BY subject ASC");
while (list ($id, $subject, $topic) = mysql_fetch_row($guide)) {
echo "<tr><td width=50%><a href=articles.php?aid=$id&page=1&topic=$topic>$subject</a></td></tr>\n";
}
?>
Whats the proper way of doing this in VBulletin?