Commit 6c6296ae5435c2955830aecca9c8fae977c34215

Authored by kevin
1 parent fa68e797

modif news.php kevin

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
news.php
... ... @@ -2,10 +2,10 @@
2 2 require_once("creds.php");
3 3 $link = mysql_connect(MYSQL_HOSTNAME, MYSQL_USERNAME, MYSQL_PASSWORD)
4 4 or die("Impossible de se connecter : " . mysql_error());
5   - echo 'Connexion réussie';
  5 + echo 'Connexion reussie';
6 6  
7 7 if(!mysql_select_db('crep', $link)){
8   - echo 'Selection de la base de données impossible';
  8 + echo 'Selection de la base de donnees impossible';
9 9 exit;
10 10 }
11 11  
... ... @@ -14,8 +14,8 @@
14 14  
15 15 //Pour debugger
16 16 if (!$resultat) {
17   - $message = 'Requête invalide : ' . mysql_error() . "\n";
18   - $message .= 'Requête complète : ' . $query;
  17 + $message = 'Requete invalide : ' . mysql_error() . "\n";
  18 + $message .= 'Requete complete : ' . $query;
19 19 die($message);
20 20 }
21 21  
... ...