web/tagging/savetag.php
changeset 2 65157edaee3e
equal deleted inserted replaced
1:b56aabf3a21b 2:65157edaee3e
       
     1 <?php
       
     2 $in=$_POST['timein'];
       
     3 $out=$_POST['timeout'];
       
     4 $tag=$_POST['usertag'];
       
     5 $user=$_POST['username'];
       
     6 
       
     7 $line = array($in,$out,$tag,$user);
       
     8 $fp = fopen("tags.csv", "a");
       
     9 fputcsv($fp,$line);
       
    10 fclose($fp);
       
    11 
       
    12 header("Location: index.html");
       
    13 ?>