le 24/11/2005 à 10:46
ringo
Voici ce que j'utilise pour me connecter
**********************************************
<?php
$host = "localhost";
$user = "root";
$password = "pass";
$database = "gescd";
$connection = mysql_connect($host,$user,$password) or die("Connection impossible.");
$db = mysql_select_db($database,$connection) or die("Selection de la base de donnée impossible.");
?>
**********************************************
<?php
$host = "localhost";
$user = "root";
$password = "pass";
$database = "gescd";
$connection = mysql_connect($host,$user,$password) or die("Connection impossible.");
$db = mysql_select_db($database,$connection) or die("Selection de la base de donnée impossible.");
?>