if ($Errors) { $tabellav->set_errors($Errors); $tabellav->set_dati($_POST); } $tabellav->edita(); ?> <!-- fine contenuto--> </td> </TR> </table> <p> </p> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <?php $db = $tabellah->get_db(); $db->sql_query("select * from vincoli.vincolo order by ordine;"); $elenco_vincoli = $db->sql_fetchrowset(); foreach ($elenco_vincoli as $row) { $vincolo = $row["nome_vincolo"]; $nome_vincolo = $row["descrizione"]; $num_zone = $tabellah->set_dati("pratica={$idpratica} and vincolo='{$vincolo}' and {$sql}"); ?> <TR> <td> <?php if ($num_zone) { print "<b>{$nome_vincolo}</b>"; $tabellah->elenco(); } ?>