SELECT `workshop_id`, `workshop_name`, `workshop_short`, `workshop_prevtext`, `workshop_description`, `workshop_address`, `workshop_city`, `workshop_postcode`, `workshop_province`, `workshop_coordinates`, `workshop_phone`, `workshop_mobile`, `workshop_fax`, `workshop_www`, `workshop_mail`, `workshop_logo`, `workshop_dir`, `workshop_promote`, `workshop_package`, `workshop_package_start`, `workshop_package_finish`, `workshop_rate` FROM `prnd_workshop` WHERE `workshop_package_start` <= '1576193865' AND `workshop_package_finish` >= '1576193865' AND `workshop_activ` = '1' ORDER BY `workshop_id` ASC LIMIT -6,6
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 '-6,6' at line 1