ADOConnection._Execute(select WebDir, ProductTypeName from ProductTypes where ProductTy..., false) % line  805, file: adodb.inc.php
         ADOConnection.Execute(select WebDir, ProductTypeName from ProductTypes where ProductTy..., null) % line  990, file: db.pinc
      db_execute(select WebDir, ProductTypeName from ProductTypes where ProductTy..., null, null) % line  148, file: db.pinc
   getRs(select WebDir, ProductTypeName from ProductTypes where ProductTy..., null, null, null) % line  927, file: recordset.pinc
sqlr(select WebDir, ProductTypeName from ProductTypes where ProductTy...) % line   49, file: product.php

select WebDir, ProductTypeName from ProductTypes where ProductTypeId =
1064: 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

Fatal error: Call to a member function gcv() on a non-object in /home/apapub/public_html/tpp/products/product.php on line 51