Verifier si le champ requis a été saisi

Author:
<?php

if (!strlen($_POST['nom']))
{
   print 'Le chmaps nom est obligatoire.';
}
?>


 <html>

  <