Stock control
¿how I can fix the stock of control when I have several fields a single record?
This code works fine with a field
<?php
$eCart1->MoveFirst();
while (!$eCart1->EOF()) {
$FinalStack = $eCart1->DisplayInfo("Subtractions");
$idProduct = $eCart1->DisplayInfo("ID");
mysql_select_db($database_sis, $sis);
$subtractions = mysql_query("UPDATE articulo SET can1 = '$FinalStack', WHERE Id = '$idProduct'") or die(mysql_error());
$eCart1->MoveNext();
}
$eCart1->MoveFirst();
?>