Debug info: MySQL Query Error

User: Guest
Time: 2012-5-17 8:26pm
Script: /shengxue_list.php

SQL: select catid,child,parentpath from [Table]categories_down where catid=
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
Errno.: 1064