non fa submit...sicuramente quello che ho fatto e un ragionamento molto stupido
vi posto il codice
il form:
<html>
<head>
<title>ore di lavoro</title>
</head>
<body>
<form action="ore_lavoro.php" method="post">
</form>
<table border ="0">
<tr><td>inserisci l' ora d' ingresso(hh:mm)
<td><input type ="text" name ="hi" size="2" maxlentht="2">
:
<td><input type ="text" name ="mi" size="2" maxlenght="2">
<tr><td>inserisci l'ora d' uscita (hh:mm)
<td><input type ="text" name ="hu" size="2" maxlenght="2">
:
<td><input type ="text" name ="mu" size="2" maxlenght="2">
<tr><td colspan="2"><center><input type ="submit" name ="submit" value ="invia orario">
</center></table></form>
</body>
</html>


e poi il codice php che elabora i dati inviati
Codice PHP:
<?php
if ((isset($_POST['hi'])) && (isset($_POST['mi'])) && (isset($_POST['hu'])) && (isset($_POST['mu'])))
{
   
$hi =$_POST['hi'];    //hi:mi-->ora ingresso
    
$mi =$_POST['mi'];
    
$hu =$_POST['hu']; //hu:mu-->ora uscita
    
$mu =$_POST['mu'];
  
$o1 =mktime($hi$midate("w"), date("m"), date("y"));
  
$o2 =mktime($hu$mudate("w"), date("m"), date("y"));
  
$ore =($o1 $o2);
  echo 
"oggi hai lavorato: ".$ore." ore";
}

 else  if (isset(
$_POST['submit']))
         {echo 
"non hai inserito le ore";}

?>
avete qualche idea che puo far funzionare il codice ?
e poi..
nn riesco capire come fare per stampare le ore settimanali

grazie