4
I have the following Query:
SELECT u.user_nome
FROM tb_Usuario u
WHERE u.user_ativo = 1
I need one more clause where
where the same compare a id
user. However, I get this id
through a array
, how do I make this comparison?
Array:
(
[0] => 1-funil-pr-
[1] => 3-funil-pr-2
)
I receive these two parameters id
.
ver isto http://stackoverflow.com/questions/907806/php-mysql-using-an-array-in-where-clause @Fred
– Tmc
this array is received by fetch_array or this array comes from somewhere else, it’s a bit confusing
– Guilherme Nascimento