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 '-30, 30' at line 6

SELECT * FROM (`gen_poem`, `user_profiles`) WHERE `gen_poem`.`user_id` = 'index.php' AND gen_poem.user_id=user_profiles.user_id ORDER BY `gen_poem_id` DESC LIMIT -30, 30

Filename: /home/banglarkobita/public_html/models/poem_model.php

Line Number: 92