I have a problem because I'm doing a data search in MySQL
with a select
and a where
so for example:
select * from $tabla where categoria = :categoria and ambitos = :ambitos
The problem is when I want to bring all the data and I do not need to use the where
, I have a dropdown
where the categories are and other areas, but each one would also like to have all of them to bring all the data for example of category and to bring all the data of scopes.