You probably need to add a loop based on the number of questions displayed:
<?php
while (!$rsQuestions->atEnd()) {
?>
<?php
if ((((isset($_GET["btnRate_x"]))?$_GET["btnRate_x"]:"") != "")) {
$InsertQuery = new WA_MySQLi_Query($db);
$InsertQuery->Action = "insert";
$InsertQuery->Table = "tblRatings";
$InsertQuery->bindColumn("ProductID", "i", "".($RecordsetSearchResults->getColumnVal("ProductID")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("QuestionID", "i", "".($rsQuestions->getColumnVal("QuestionID")) ."", "WA_DEFAULT");
$InsertQuery->bindColumn("UserID", "i", "".($RecordsetUser->getColumnVal("UserID")) ."", "WA_DEFAULT");
$InsertQuery->saveInSession("");
$InsertQuery->execute();
$InsertGoTo = "Rate.php";
if (function_exists("rel2abs")) $InsertGoTo = $InsertGoTo?rel2abs($InsertGoTo,dirname(__FILE__)):"";
$InsertQuery->redirect($InsertGoTo);
}
?>
<?php
$rsQuestions->moveNext();
}
$rsQuestions->moveFirst();
?>