A PHP Error was encountered

Severity: Notice

Message: Undefined index: nid_category_type

Filename: views/tkb_news_detail.php

Line Number: 15

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 'AND b.nid = a.nid_category_type' at line 1

SELECT a.nid as nid,a.nid_category_type,a.ccategory,b.ccategory_type FROM tkb_tcategory as a , tkb_tcategory_type as b WHERE a.nid is not null AND b.nid = AND b.nid = a.nid_category_type