NVB Database Error

mySQL query error: SELECT id_catpd,name,parentid FROM catpd WHERE id_catpd = mySQL error: 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 mySQL error code: Date: Tuesday 20th 2018f March 2018 01:07:06 PM