An error occurred executing the following query;

SELECT PT_Live, PT_Name1, P_StrapLine1, P_Live, P_Name1, P_SpecTable1, P_Desc1, P_HyperLink1, P_OrderVersionsBy, P_VersionDisplayType FROM (((tblCactuShopVersions INNER JOIN tblCactuShopTaxRates ON tblCactuShopVersions.V_Tax = tblCactuShopTaxRates.T_ID) INNER JOIN tblCactuShopProducts ON tblCactuShopVersions.V_Product = tblCactuShopProducts.P_ID) INNER JOIN tblCactuShopProductProdTypeLink ON tblCactuShopProducts.P_ID = tblCactuShopProductProdTypeLink.PPT_ProductID) INNER JOIN tblCactuShopProdtype ON tblCactuShopProductProdTypeLink.PPT_ProdTypeID = tblCactuShopProdtype.PT_ID WHERE P_ID= AND V_Live='y' AND P_Live='y' AND PT_Live='y'

Error Description :

[MySQL][ODBC 3.51 Driver][mysqld-4.0.20a-nt]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 'AND V_Live='y' AND P_Live='y' AND PT_Live='y'' at line 1

Page of error :

/product.asp

Query String :