habe einen kleinen fehler bekomme immer die meldung Parse error: syntax error, unexpected T_STRING in /data/multiserv/users/710878/projects/1788921/www/install/data/constable.php on line 8
oder neuerdings der Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /data/multiserv/users/710878/projects/1788921/www/install/data/constable.php on line 8
no connection to the serverhab aber schon durchsucht und leider nix gefunden könntet ihr mir vllt helfen wen nicht sogar gleich berichtigen wäre nett
<?php
$database_host = 'localhost'; //database server
$database_user = ''; //user database
$database_password = ''; //user password
$database_name = ''; //database name
//we establish a connection to the database server if it fails it will show the information
$connect = mysql_connect($database_host, $database_user, $database_password) or die('no connection to the server');
//select the appropriate database
mysql_select_db($database_name,$connect) or die('the database was not found');
//set the default character encoding name for the connection
mysql_query("SET NAMES 'utf8'");
?>
oder neuerdings der Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www-data'@'localhost' (using password: NO) in /data/multiserv/users/710878/projects/1788921/www/install/data/constable.php on line 8
no connection to the serverhab aber schon durchsucht und leider nix gefunden könntet ihr mir vllt helfen wen nicht sogar gleich berichtigen wäre nett
<?php
$database_host = 'localhost'; //database server
$database_user = ''; //user database
$database_password = ''; //user password
$database_name = ''; //database name
//we establish a connection to the database server if it fails it will show the information
$connect = mysql_connect($database_host, $database_user, $database_password) or die('no connection to the server');
//select the appropriate database
mysql_select_db($database_name,$connect) or die('the database was not found');
//set the default character encoding name for the connection
mysql_query("SET NAMES 'utf8'");
?>