Ha ocurrido un error, por favor, comuniquelo en este momento

Query: SELECT * FROM categorias WHERE id=
Query Num: 4
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 6
Mysql Error NO: 1064
Compañía Bengali