The database has a pvt_messages table of this type,
SELECT * FROM pvt_messages WHERE id_user_from=2 AND user_from='qwerty'
Why the query does not return any results?
pvt_messages table
id_user_from name_user_from user_from 1 name2 qwerty 2 name3 qwerty1 2 name3 qwerty1 2 name3 qwerty1 2 name3 qwerty1 21 name qwerty2 21 name qwerty2 21 name qwerty2
After all, logically, the result of the query should display
id_user_from name_user_from user_from 1 name2 qwerty 2 name3 qwerty1 2 name3 qwerty1 2 name3 qwerty1 2 name3 qwerty1