A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Applications::v()

Filename: controllers/applications.php

Line Number: 24

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id

Filename: controllers/applications.php

Line Number: 27

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 '' at line 5

SELECT tbl_sections.section_name, tbl_category.category_name, tbl_images.image_id, tbl_images.file_name FROM tbl_sections LEFT JOIN tbl_category ON tbl_sections.category_id = tbl_category.category_id LEFT JOIN tbl_images ON tbl_sections.image_id = tbl_images.image_id WHERE tbl_sections.section_id =