ops... piccolo errore, non avevo vistoOriginariamente inviato da piero.mac
Quale? questa?
select id from $tabella where id= \"$id\" and anticipo =0";
![]()
eccola quella giusta, ora funziona
$sql_anticipo = "select id, anticipo from $tabella where id= \"$id\"";