poker/index.php~

21 lines
464 B
PHP
Raw Normal View History

2017-10-31 19:16:46 +01:00
<?php
//show all errors
error_reporting (E_ALL);
ini_set("display_errors","TRUE");
//standart vars and constants
$BODY=""; //the page content
$DB=mysql_connect("192.168.0.145","root","h07rn-f#");
mysql_select_db("poker",$DB);
//include the requestet page
$page="";
if (isset($_GET['page'])) $page=$_GET['page'];
if ($page=="rank") include ("rank.php");
//include the Template
include ("template.php");
//End of Script
mysql_close($DB);
?>