Here is some php code, when I run it, I get this error.
You have an error in your SQL syntax near '=='') || (yr2==''))' at line
$year = $_GET['year'];
$query1 = mysql_query("select * from MAKE where
((yr1=='$year') || (yr2=='$year'))")
or die(mysql_error());
Can anyone clue me in to why this is happening?