I want to fetch last records but display as ascending order not descending order.
SELECT R.cr_id,
R.time,
R.reply,
U.id,
U.username,
U.firstname,
U.lastname,
U.email,
U.image
FROM (HM_customers U, HM_conversation_reply R)
WHERE R.user_id_fk = U.id AND R.c_id_fk = '1'
ORDER BY R.cr_id DESC LIMIT 20
Edit...
I am using two tables.