Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739
Crazy Tronners Wiki - Configure a wild server

Configure a wild server

From Tronwiki
Jump to: navigation, search
Line 200: Line 200:
 
  //
 
  //
 
  //
 
  //
 
+
 
  function mysql_start(){
 
  function mysql_start(){
 
         mysql_connect($this->cfg_host,$this->cfg_user,$this->cfg_pw);
 
         mysql_connect($this->cfg_host,$this->cfg_user,$this->cfg_pw);
Line 209: Line 209:
 
         mysql_close();
 
         mysql_close();
 
  }
 
  }
 
+
 
  function map_cycle($round){
 
  function map_cycle($round){
 
         $mapquery=mysql_query('SELECT * FROM maps WHERE  round="'.$round.'"');
 
         $mapquery=mysql_query('SELECT * FROM maps WHERE  round="'.$round.'"');
Line 235: Line 235:
 
         echo $content;
 
         echo $content;
 
  }
 
  }
 
+
 
  }
 
  }
 
  ?>
 
  ?>
 
+
  
 
Of course you need a mysql database, in my case called tron. Within here is a table called maps.
 
Of course you need a mysql database, in my case called tron. Within here is a table called maps.

Revision as of 01:49, 30 November 2006

Personal tools