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 'pro.html,24' at line 1

select * from products where enable = 1 and class_number=24 order by sort limit pro.html,24

Filename: /home/UU000600110E4160/models/products.php

Line Number: 518