I am trying to get all the students from my table SCstudents that are in grade 11.
$students = mysqli_query($con, "SELECT * FROM SCstudents WHERE Grade='11'");
for some reason the above code does not return anything. I know this because when I try to run a loop with
mysqli_fetch_array($students)
there aren't any iterations.
Could this be because 11 is an integer and it is in quotations like a string? There are about 3 students whose grade is 11 in the table SCstudents.