An Error Was Encountered
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 1
select * from `listings` where category_id=
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/start.php
Line Number: 9238
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/start.php
Line Number: 9248
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/start.php
Line Number: 9259
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/start.php
Line Number: 9261
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 1
select * from `listings` where category_id=