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 2
in query statement
SELECT product_number, category_id from product where product_id =
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/lib/php_func_lib/data_lib/db_lib.inc on line 227