I want to make a query where I show a result by selecting a city or by selecting a month or search by id_nodo
or search by city and month to show me all the nodes in that city that month, I attach an image of my form so that you can understand me better.
SELECT * FROM huawei_gestion_proyectos
WHERE (CIUDAD ='$CIUDAD'
OR MES_DESTINO = '$MES_DESTINO'
OR ID_NODO = '$ID_NODO')
OR (CIUDAD ='$CIUDAD'
AND MES_DESTINO = '$MES_DESTINO')