Is this a mysql bug?

This is my SQL query




SELECT * 

FROM `article` 

WHERE publie =1



But it gives me the result with publie value=0

I did it several times but the same probleme.

Any idea?

check for "publie" in the DB type.

Is publie is int ?

Thanks,

Mustafa

Solved!

It was enum type so I added cote like this




SELECT * FROM `article` WHERE publie ='1'



thx!