MySQL_query error: 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 '' at line 4
SELECT works.*, works.title, lib_alignments.css, lib_alignments.is_proportional FROM works LEFT JOIN lib_alignments ON (lib_alignments.id = works.alignment) WHERE works.id =