the query:
SELECT id, Featured1, ProductThumb, ProductCartDesc, ProductName, ProductCartDesc, ProductPrice FROM WHERE id = Paramid
does not include the table name. it should be:
SELECT id, Featured1, ProductThumb, ProductCartDesc, ProductName, ProductCartDesc, ProductPrice FROM products WHERE id = Paramid
assuming the table is named products