increment game counter on start of each game
This commit is contained in:
@@ -29,4 +29,10 @@
|
||||
}
|
||||
|
||||
sqlite_close( $db );
|
||||
|
||||
if (isset( $_REQUEST['new']))
|
||||
{
|
||||
$games = file_get_contents("../games.txt");
|
||||
file_put_contents("../games.txt", $games + 1);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user