I have this query already:
SELECT * FROM (SELECT * FROM `prefix_messages`
WHERE `category_id`=4
ORDER BY `id` DESC LIMIT 30) ilv
ORDER BY `id` ASC
How to use join query to add data from users table if in prefix_messages I have user_id column?
Thanx!