Execute($sql);$idmerce=$adoconn->Insert_ID();header("Location:darts_pmr_idmerce.php?idmerce=$idmerce");}$form_title="Anagraficaprodotto";$form_from="darts_pmr_merce";$orm_fields=array(array("merce","descrizioneprodotto","text","30"),array("prezzo","prezzounitario","euro","10"),array("giacenza","giacenzainiziale","text","1"),array("online","online","selectarray","y:si;n:no;"));$form_delete="n";$form_key="idmerce";$form_back="darts_pmr_merce.php";$form_print="";$form_right=246;$form_name="darts_pmr_idmerce.php?idmerce=$idmerce";$sql="SELECTsum(copieconsegnate-copierese)ascopievenduteFROM`darts_pmr_movimenti`WHEREidcliente>0andidmrce=$idmerce";$rsve=$adoconn->Execute($sql);$copievendute=$rsve->Fields("copievendute");$sql=...