Error with my php database code
Posted: Sat May 12, 2007 5:03 pm
$conn->Execute("Insert Into User_Items
Values(".$Cart->Fields['Cart_Item_ID']->Value.",'".$groupD->Fields['Group_Name']->Value."','".$cdD->Fields['Cd_Title']->Value."', ".$cdD->Fields['Cd_Price']->Value.", ".$qty2.", ".$cdD->Fields['Cd_Special']->Value.")");
Its telling me i have a syntax errors if anyone has any idea whats wrong or any pointers on how i could fix it it would be appreciated.
Values(".$Cart->Fields['Cart_Item_ID']->Value.",'".$groupD->Fields['Group_Name']->Value."','".$cdD->Fields['Cd_Title']->Value."', ".$cdD->Fields['Cd_Price']->Value.", ".$qty2.", ".$cdD->Fields['Cd_Special']->Value.")");
Its telling me i have a syntax errors if anyone has any idea whats wrong or any pointers on how i could fix it it would be appreciated.