The code:
$selecteddate = $_POST['Releasedate'];
$selectedplatform =$_POST['Platform'];
$selectedstyle = $_POST['style'];
$query="SELECT * FROM $table WHERE date = '$selecteddate'AND Style = '$selectedstyle'AND Platform = '$selectedplatform'";
Ok, the code works if someone picks something for all 3 of the items, so all of the code works, but if someone leaves one of the $selected items blank I have it returning a *, which doesn't mean what I thought it would mean. So what should I have it return so that if they do not choose an option I want it to just ignore that part of the WHERE condition?