How do you use the where clause with a variable??
This is what I have
$result2 = mysql_query("SELECT fullDate, prov_state, city, country, raceDesc,id FROM resultDB WHERE month = " + $monthSearch + " AND year = " + $yearSearch + " order by startDay DESC", $mysql_access);
I also tried this
$result2 = mysql_query("SELECT fullDate, prov_state, city, country, raceDesc,id FROM resultDB WHERE month = monthSearch AND year = $yearSearch order by startDay DESC", $mysql_access);