$strSQL = "SELECT * FROM mainapp WHERE Autonum = '".$_POST["select1"]."'
or APP_ID = '".$_POST["select1"]."'
or APP_NAME = '".$_POST["select2"]."'
or OWNER_NAME = '".$_POST["select3"]."'
or OWNER_FUNCTION = '".$_POST["select4"]."'
or RUNNING_DATE = '".$_POST["datepicker2"]."'
or RUNNING_TIME = '".$_POST["timepicker2"]."'
or DEPLOY_DATE = '".$_POST["datepicker"]."'
or DEPLOY_TIME = '".$_POST["timepicker"]."'";
$objQuery = mysql_query($strSQL) ;