A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC,p.dateline DESC LIMIT 0,6' at line 1

select pmf.*, p.*, a.title as agency_title from `act_txtx_players_mf` as pmf left join `act_txtx_players` as p on pmf.`players_id`=p.`id` left join `act_txtx_agency` as a on p.`agency_id`=a.`id` where pmf.mid='12' and p.agency_id='262' and p.isdel='0' ORDER BY pmf.pmf.total_likes DESC,p.dateline DESC DESC,p.dateline DESC LIMIT 0,6

Filename: models/txtx/Players_model.php

Line Number: 84