From 6c6296ae5435c2955830aecca9c8fae977c34215 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 5 Nov 2014 13:01:52 +0100 Subject: [PATCH] modif news.php kevin --- news.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/news.php b/news.php index 9b4804e..43d037b 100644 --- a/news.php +++ b/news.php @@ -2,10 +2,10 @@ require_once("creds.php"); $link = mysql_connect(MYSQL_HOSTNAME, MYSQL_USERNAME, MYSQL_PASSWORD) or die("Impossible de se connecter : " . mysql_error()); - echo 'Connexion réussie'; + echo 'Connexion reussie'; if(!mysql_select_db('crep', $link)){ - echo 'Selection de la base de données impossible'; + echo 'Selection de la base de donnees impossible'; exit; } @@ -14,8 +14,8 @@ //Pour debugger if (!$resultat) { - $message = 'Requête invalide : ' . mysql_error() . "\n"; - $message .= 'Requête complète : ' . $query; + $message = 'Requete invalide : ' . mysql_error() . "\n"; + $message .= 'Requete complete : ' . $query; die($message); } -- libgit2 0.21.2