Hey guys, I have an SQL statement that works in MyPHPAdmin, but not live on the website itself...anyone see any reason why? Here is the MyPHPAdmin statement
SELECT * FROM tblClass WHERE tblClass.Class_ID = "THE311" AND tblClass.Class_Year >= "1999";
and the Webpage:
$sql="SELECT * FROM tblClass
WHERE tblClass.Class_ID = '$Course_ID_E' AND tblClass.Class_Year >= '$Course_Year_E'";
It gives me all the years greater than, but not the ones equal (and there is one). I have double checked and the $Course_ID_E variable is correct, as well as the $Course_Year_E variable. Am I missing something? Thanks guys!