luego de

,

y

se me ocurrió esto:
Código PHP:
if ($_POST['Sexo'] != 0) {
if ($where == "") {
$where = "where ";
}
else {
$where .= "and ";
}
$where .= "Sexo = '".$_POST['Sexo']."' ";
}
if ($_POST['Orientacion'] != 0) {
if ($where == "") {
$where = "where ";
}
else {
$where .= "and ";
}
$where .= "Orientacion = '".$_POST['Orientacion']."' ";
}
if ($_POST['Edad'] != 0) {
if ($where == "") {
$where = "where ";
}
else {
$where .= "and ";
}
$where .= "Edad = '".$_POST['Edad']."' ";
}
if ($_POST['Pais'] != 0) {
if ($where == "") {
$where = "where ";
}
else {
$where .= "and ";
}
$where .= "Pais = '".$_POST['Pais']."' ";
}
if ($_POST['Provincia'] != 0) {
if ($where == "") {
$where = "where ";
}
else {
$where .= "and ";
}
$where .= "Provincia = '".$_POST['Provincia']."' ";
}
no era tan complicado..
espero que les pueda llegar a ser de utilidad