codice:
if(!isset($_POST["azienda$j"]) OR $_POST["azienda$j"])== "" ) {
  echo"Campo mancante";
  $valid=0;
}