A PHP Error was encountered

Severity: Notice

Message: Undefined index: sub_id

Filename: controllers/subcatproduct.php

Line Number: 15

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/coslabin/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 1

SELECT * FROM `subcategory_table` WHERE `sub_id` =

Filename: /home/coslabin/public_html/controllers/subcatproduct.php

Line Number: 124