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 'row FROM slider_images WHERE status = 1' at line 1

SELECT count(id) as row FROM slider_images WHERE status = 1

Filename: /home/legalexe/public_html/models/content_model.php

Line Number: 106