diff --git a/pages/payments/ajaxData.php b/pages/payments/ajaxData.php index 22a27bb..8679ba6 100644 --- a/pages/payments/ajaxData.php +++ b/pages/payments/ajaxData.php @@ -5,7 +5,7 @@ if (isset($_POST["student"]) && !empty($_POST["student"])) { - $queryDup = "select * from student_info where where class_id = '" . $class . "' "; + $queryDup = "select * from student_info where class_id = '" . $class . "' "; if (DB::getInstance()->checkRows($queryDup)) { echo ''; $res_lists = DB::getInstance()->query($queryDup);