A PHP Error was encountered

Severity: Notice

Message: Undefined variable: car_id

Filename: controllers/car_details.php

Line Number: 39

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ykausedc/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 437

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 2

SELECT IF(DATEDIFF(CURDATE(),`sold_date`)>(SELECT `config_value` FROM `configuration_tbl` WHERE `conf_id`=5),0,1) as sold from car_details_tbl where car_id =

Filename: /home/ykausedc/public_html/models/home_model.php

Line Number: 702