Hi,
ich schaffe es nicht zu einer fremden
DB zu connecten...
variablen.php:
SQL-Code:
<?
$db_server = "xxx";
$db_name = "xxx";
$db_user = "xxx";
$db_pass = "xxx";
?>
SQL-Code:
<?
echo "
<html><head><title>DB of Setsuna Labs</title></head><body>";
include("
variablen.php");
$
db = @MYSQL_CONNECT($db_server,$db_user,$db_pass)
or die ("
Nicht hergestellt");
$db_check = @MYSQL_SELECT_DB($db_name);
if($
db)
echo "
Verbindung hergestellt";
echo "
</body></html>";
?>
Ich finde keinen Fehler im Code.