Good evening,
I have the following select that is to search for users according to their category:
$consulta = "SELECT * FROM app_usuarios WHERE cat = '$categ'
$ categ is the variable that I get dynamically according to the user's choice.
I have the following categories registered to the bank: A, B, C, D, DM , E.
But when the search asks for the return of the categories "D" and "DM" the result returns empty, it only returns values when the chosen option is A, B, C and E.
What is wrong with my select ??
Thank you. Hugs