my friend you on the wrong track first of all you using VARCHAR for pretty long string I would recommend you use text field for that as far as your following query is concerned
SELECT * FROM `item_desc` `t` WHERE ((ean=:ycp0) AND (idboutique!=:ycp1)) AND (desc!=:ycp2)
desc != ''
// I would recommend you replace it with following
LENGTH(desc) > 1
My bad! Thank you so much Ronald I just didn’t realized that I used “desc”… omg I’m so stupid >.< I just changed “desc” to “descitem” and then it works!
I also use your recommendation alirz23 using LENGTH(descitem) to prevent SQL injection I suppose.
Thanks both of you guys, sorry for that stupid post ^^