increment game counter on start of each game

This commit is contained in:
Chris Forbes
2010-05-03 19:34:21 +12:00
parent e8b77963e3
commit c7db8bee90

View File

@@ -29,4 +29,10 @@
}
sqlite_close( $db );
if (isset( $_REQUEST['new']))
{
$games = file_get_contents("../games.txt");
file_put_contents("../games.txt", $games + 1);
}
?>