PHP gevorderde |
|
Probeer dit eens:
$hostname_connect = "localhost";
$database_connect = "databasenaam";
$username_connect = "databasuser";
$password_connect = "databasww";
$db = msyql_connect($hostname_connect, $username_connect, $password_connect);
$connect =mysql_select_db($database_connect, $db) or die ("Error: ". mysql_error());
$hostname_connect = "localhost"; $database_connect = "databasenaam"; $username_connect = "databasuser"; $password_connect = "databasww"; $db = msyql_connect($hostname_connect, $username_connect, $password_connect);
Dit zou zeker moeten werken! |