A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/extreme1/public_html/application/models/usluge_model.php:1)

Filename: core/Common.php

Line Number: 438

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 'html OR `services`.`id_service` = 404.html ORDE' at line 10

SELECT `services`.`id_service`, `name`, `desc`, `id_parent`, ( SELECT IF(COUNT(`service_v_service`.`id_service`) > 0, TRUE, FALSE) FROM `service_v_service` WHERE `service_v_service`.`id_parent` = `services`.`id_service` ) AS has_child FROM `services` JOIN `service_v_service` ON `services`.`id_service` = `service_v_service`.`id_service` WHERE `id_parent`= 404.html OR `services`.`id_service` = 404.html ORDER BY `id_parent`ASC ;

Filename: /home/extreme1/public_html/models/usluge_model.php

Line Number: 62