In Datenbank eine Tablle erstellen
Posted: 24. August 2010 16:05
Huhu, ich habe mir mehrere Ligascripte runtergeladen, allerdings bekomme ich sie nicht in Gang ;(
In der readme steht, ich solle Tabellen erstellen, allerdings weiß ich nicht so richtig welche Daten ich da eintragen muss, hier mal die readme:
//start
//configure database info
$databaseserver = "localhost"; //usually localhost
$databasename = "name"; //the name of your database
$databaseuser = "username"; //the name of the database user
$databasepass = "password"; // the password to your database
$directory ="http://www.yoursite.com/WebLeague" ; //the location of your WebLeague directory (no trailing slash)
//configure the tables in the database
$playerstable = "webl_players"; //the name of the table that contains information about the players
$gamestable = "webl_games"; //the name of the table that stores the played games
$newstable = "webl_news"; // the name of the table that stores the news
$themestable = "webl_themes"; //the name of the table that stores the themes
$varstable = "webl_vars"; //the name of the table that stores various information
$rulestable = "webl_rules"; //the name of the table the stores the rules
//set some general information on your league
$leaguename = "Web<i>League</i>"; //the name of your league
$title = ".: Web League :."; //the title of your pages
$favicon = "$directory/WebLeaguefavicon.ico" ; //the location of the shortcut icon
$report = "winner"; //who reports? winner/loser
$pointswin = "2"; //the number of points awarded for a win
$pointsloss = "-1"; //the number of points awarded for a loss
//set the username and password for the admin panel
$LOGIN = "Username"; //the username to access the admin panel
$PASSWORD = "Password"; //the password to access the admin panel
//finish
kann mir jemand erklären wie ich das mache mit den Tabellen bitte.. hier nochmal die links zu den Scripten
http://www.clanscripte.net/main.php?content=download&do=file&dlid=54
http://www.ligascript.net/index.php/de/
Ich hoffe mir kann jemand helfen, vielen Dank!
In der readme steht, ich solle Tabellen erstellen, allerdings weiß ich nicht so richtig welche Daten ich da eintragen muss, hier mal die readme:
//start
//configure database info
$databaseserver = "localhost"; //usually localhost
$databasename = "name"; //the name of your database
$databaseuser = "username"; //the name of the database user
$databasepass = "password"; // the password to your database
$directory ="http://www.yoursite.com/WebLeague" ; //the location of your WebLeague directory (no trailing slash)
//configure the tables in the database
$playerstable = "webl_players"; //the name of the table that contains information about the players
$gamestable = "webl_games"; //the name of the table that stores the played games
$newstable = "webl_news"; // the name of the table that stores the news
$themestable = "webl_themes"; //the name of the table that stores the themes
$varstable = "webl_vars"; //the name of the table that stores various information
$rulestable = "webl_rules"; //the name of the table the stores the rules
//set some general information on your league
$leaguename = "Web<i>League</i>"; //the name of your league
$title = ".: Web League :."; //the title of your pages
$favicon = "$directory/WebLeaguefavicon.ico" ; //the location of the shortcut icon
$report = "winner"; //who reports? winner/loser
$pointswin = "2"; //the number of points awarded for a win
$pointsloss = "-1"; //the number of points awarded for a loss
//set the username and password for the admin panel
$LOGIN = "Username"; //the username to access the admin panel
$PASSWORD = "Password"; //the password to access the admin panel
//finish
kann mir jemand erklären wie ich das mache mit den Tabellen bitte.. hier nochmal die links zu den Scripten
http://www.clanscripte.net/main.php?content=download&do=file&dlid=54
http://www.ligascript.net/index.php/de/
Ich hoffe mir kann jemand helfen, vielen Dank!