A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and b.engines_active=1 and a.manufacturertype_active=1 group by `manufacturer...' at line 1
SELECT a.* FROM `manufacturertype` a, `engines` b, `enginepics` c WHERE a.`manufacturertype_id` = b.manufacturer_id and b.engines_id = c.engine_id and c.boat_id= and b.engines_active=1 and a.manufacturertype_active=1 group by `manufacturertype_id`
Filename: /home/dusky/public_html/application/modules/boat/controllers/boat.php
Line Number: 197