diff --git a/scripts/play.php b/scripts/play.php index c211840..e4c020e 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -398,6 +398,11 @@ if($statement2 == False){ header("refresh: 0;"); } $result2 = $statement2->execute(); +$num_rows = 0; +while ($result2->fetchArray(SQLITE3_ASSOC)) { + $num_rows++; +} +$result2->reset(); // reset the pointer to the beginning of the result set echo "