Sweet!... it weed out my Xbox games from all my other ones but all it printed was a list that was like:
xbox
xbox
xbox
xbox
Before that edit the list was like:
xbox halo
xbox tony hawk 4
ps2 grand theft auto 3
gamecube animal crossing
how do I get it to print the 'title', 'rating', 'discs', 'loaned' columns again?!
// this part happens if we don't press submit
if (!$discid) {
// print the list if there is not editing
$result = mysql_query("SELECT system FROM discs WHERE system = 'Xbox'");
while ($myrow = mysql_fetch_array($result)) {
printf("<a href=\"%s?discid=%s\">%s %s</a> \n", $PHP_SELF, $myrow["discid"], $myrow["system"], $myrow["title"]);
printf("<a href=\"%s?discid=%s&delete=yes\">(DELETE)</a><br>", $PHP_SELF, $myrow["discid"]);