I'm trying to pull an array from a mysql table and put it into an html table. It works successfully but when I try and add the restriction != null
, no data is returned.
$query = mysqli_query($link, "select * from timetable Where id = $id and Subject != NULL");