web/tagging/savetag.php
author clebeaupin
Wed, 14 Apr 2010 18:14:40 +0200
changeset 50 657e7ad4337f
parent 2 65157edaee3e
permissions -rw-r--r--
Add data fixtures

<?php
$in=$_POST['timein'];
$out=$_POST['timeout'];
$tag=$_POST['usertag'];
$user=$_POST['username'];

$line = array($in,$out,$tag,$user);
$fp = fopen("tags.csv", "a");
fputcsv($fp,$line);
fclose($fp);

header("Location: index.html");
?>