I think that I am very close. I know you said that you would not help me write the code. Could you just point me in the right direction? I have tried & tested this code. And I am not sure why it does not deduct the stock value.
Is there something obvious in this that I have done wrong.
Again this is very important to me and I hope you can help me.
<?php
while (!$eCart->EOF()) {
mysql_select_db($database_siteezy_ecart2, $siteezyecproducts);
$query_itemQ = "Update Products SET Products.ProductStock = Products.ProductStock -
$DetailQuantity WHERE Products.ProductID = $idCall";
$itemQ = mysql_query($query_itemQ, $siteezyecproducts) or die(mysql_error());
$eCart->MoveNext();
}
$eCart->MoveFirst();
?>