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 '-0, GUESTBOOK_MAX_DISPLAY_ENTRIES' at line 1
select g.entry_id, gd.entry_text as guestbook_text, g.entry_rating, g.date_added, g.visitors_name, g.visitors_location from guestbook g, guestbook_description gd where g.entry_id = gd.entry_id and gd.languages_id = '1' and g.entry_status = '1' order by g.entry_id desc limit -0, GUESTBOOK_MAX_DISPLAY_ENTRIES