error en string: SELECT * FROM WHERE categoriaid = '317' ORDER BY titulo ASC LIMIT 0, 20