Begun adding the full admin backend

Admin users can now create the users table (means whoever sets up the
site only needs to create a database then non-tech admin users can
continue from there), close registration and start the game.
This commit is contained in:
jcreek
2014-08-21 19:05:09 +01:00
parent 227c7a4066
commit 9697849acf
6 changed files with 163 additions and 7 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php include "../base.php";
// Copy the contents of the table 'users' into 'users-final'
//mysql_query("SELECT * INTO usersfinal FROM users");
//Error checking should go here but I couldn't be bothered to do it yet.
mysql_query("CREATE TABLE usersfinal SELECT * FROM users");
?>