A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for Projects::getContent()

Filename: controllers/projects.php

Line Number: 100

Database Error

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 'AND is_live = true AND is_archive = false AND show_in_industry = 1 ORDER BY proj' at line 1

SELECT * FROM projects LEFT JOIN industries ON projects.project_industry_id = industries.industry_id WHERE project_industry_id = AND is_live = true AND is_archive = false AND show_in_industry = 1 ORDER BY projects.project_title