Files
Assassins-Mission-Control/base assassins-srv.php
T
jcreek 0a7943162d Committing the current version
This version works and has been tested in a full game with over 50
players however there isn’t as yet a proper admin backend and many
activities require the admin to fiddle with html or SQL at the moment.
2014-08-21 13:57:55 +01:00

18 lines
581 B
PHP

<?php
session_start();
$dbhost = "localhost"; // this will ususally be 'localhost', but can sometimes differ
$dbname = "assassinsdb"; // the name of the database that you are going to use for this project
$dbuser = "root"; // the username that you created, or were given, to access your database
$dbpass = "Passwords1"; // the password that you created, or were given, to access your database
mysql_connect($dbhost, $dbuser, $dbpass) or die("MySQL Error: " . mysql_error());
mysql_select_db($dbname) or die("MySQL Error: " . mysql_error());
?>