[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 '-5,5' at line 5 
 select machine_id,machine_image_file,machine_image_title,machine_name,machine_date_time,machine_short_description
                        from machine
                        where language_id = '1'
                              and machine_is_enabled = '1'
                        order by machine_rank DESC,machine_date_time DESC, machine_id DESC LIMIT -5,5]