I am trying to achieve the following: I ask my SQL database a query using SELECT * FROM subjects. After doing that I ask for the array using mysqli_fetch_asso
SELECT * FROM subjects
mysqli_fetch_asso
In if statement you should use double equal sign: if (a == b)
if
if (a == b)