Codice PHP:
<?php
//qui verifico il form
if(isset($_POST['nometuotastosubmit']))
{
if($_POST["utente"]==""){
$campo_utente = "il campo non può essere vuoto";
}
//etc... per tutti gli altri controlli
}
?>
<html>
<head>
</head>
<body>
<form>
<input name="utente" type="text">
<?php print($campoutente);?>
</form>
</body>
</html>