include 'authenticate.php'; $querystr = mysql_escape_string('SELECT CompoGames.ID, CompoEntrant.BoardName AS Entrant, CompoGames.GameName AS Game, CompoGames.CommentsPublic AS ShowComments FROM CompoGames, CompoEntrant WHERE CompoGames.ID = ' . $entryID . ' AND CompoEntrant.ID = CompoGames.EntrantID'); $resultset = mysql_query($querystr, $dbconnect); if(mysql_num_rows($resultset) < 1) { include 'pageheader.php'; print 'That does not appear to be a valid entry.'; include 'pagefooter.php'; include 'dbdisconn.php'; exit(); } else { $row = mysql_fetch_row($resultset); $pagetitle = 'Comments'; include 'pageheader.php'; print '
| ' . $row[2] . ' | '; print '
| ' . $row[1] . ' | '; print '
| Comments |
| posted by ' . $rowC[0] . ' |
| ' . $rowC[1] . ' |
| You must log in to leave comments. |
| Add Comment |