$GLOBALS["openolddatabase"] = $_SERVER['DOCUMENT_ROOT']."/inc/inc_opendatabase2.php";
?>
|
v3 |
v4 |
Members |
include("$openolddatabase");
$query = "SELECT * FROM `thebutt_tbt`.`tbt_members`";
$result = mysql_query($query) or die("Failed selecting old members: " . mysql_error());
$num = mysql_num_rows($result);
echo $num;
?>
|
include("$opendatabse");
$query = "SELECT * FROM `thebutt_tbtv4`.`tbt_members`";
$result = mysql_query($query) or die("Failed selecting new members: " . mysql_error());
$num2 = mysql_num_rows($result);
echo $num2;
?>
|
Categories |
include("$openolddatabase");
$query = "SELECT * FROM `thebutt_tbt`.`tbt_categories`";
$result = mysql_query($query) or die("Failed selecting old members: " . mysql_error());
$num3 = mysql_num_rows($result);
echo $num3;
?>
|
include("$opendatabse");
$query = "SELECT * FROM `thebutt_tbtv4`.`tbt_categories`";
$result = mysql_query($query) or die("Failed selecting new members: " . mysql_error());
$num4 = mysql_num_rows($result);
echo $num4;
?>
|
Comments |
include("$openolddatabase");
$query = "SELECT * FROM `thebutt_tbt`.`tbt_comments`";
$result = mysql_query($query) or die("Failed selecting old members: " . mysql_error());
$num5 = mysql_num_rows($result);
echo $num5;
?>
|
include("$opendatabse");
$query = "SELECT * FROM `thebutt_tbtv4`.`tbt_comments`";
$result = mysql_query($query) or die("Failed selecting new members: " . mysql_error());
$num6 = mysql_num_rows($result);
echo $num6;
?>
|