A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/branch.php

Line Number: 23

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 442

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 'ORDER BY `web2012_branch`.`id` asc' at line 5

SELECT `web2012_branch`.* FROM (`web2012_branch`) WHERE `web2012_branch`.`status` = 'approved' AND `web2012_branch`.`id` <> ORDER BY `web2012_branch`.`id` asc

Filename: /home/daddydou/public_html/controllers/branch.php

Line Number: 24