Code: Select all
//gather all the comments
$commentquery = mysql_query("SELECT * FROM comments WHERE tutorialid='$tutid' ORDER BY date DESC") or die(mysql_error());
//count all the comments for the total
$commentNum = mysql_num_rows($commentquery);How can I transfer this number over?