summaryrefslogtreecommitdiff
path: root/IUT_auth_my.inc.php
blob: 1fb5ae6d3a0c8a0d7eac1d92d96aef0dd9cfc286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

function mysql_conn_select_db()
	{
	$mysql_host='localhost';
	$mysql_user='258';
	$mysql_pass='ess_ku_elle';
	$mysql_base='258_tests';

	$link = mysql_connect($mysql_host,$mysql_user,$mysql_pass)
		    or die('Erreur MySql : Impossible de se connecter : ' . mysql_error());
	mysql_select_db($mysql_base) or die('Erreur Mysql : Impossible de s�lectionner la database');
	
	return ($link);
}
?>