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 ') order by pid ASC limit 0, 9' at line 1

File: /lib/funcs_lib.inc.php
Line: 46
Function: db_error

File: /category.php
Line: 267
Function: db_query