fetchArray("SELECT * FROM zz_campi_add WHERE deleted='0' and id_module='".$id_module."' order by id");
for( $i=0; $i
fetchArray("SELECT valore FROM zz_campi_val WHERE id_campo='".$rs_campi[$i]['id']."' and id_module='".$id_module."' and id_record='".$id_record."'");
if ( sizeof($rs_valore) == '0' ){
// inizializzo il campo
$dbo->query("INSERT INTO zz_campi_val( id_campo, valore , id_module,id_record ) VALUES( '".$rs_campi[$i]['id']."',' ','".$id_module."','".$id_record."')");
$valore="";
}
else{
$valore=$rs_valore[0]['valore'];
}
?>
{[ "type": "text", "label": "", "name": "", "required": 0, "class": "", "value": "", "extra": "" ]}