Commit 3fb74cc59626872d0bb326e84c852458d64f65e0

Authored by Jean Wasilewski
1 parent 95b03dee

Bad constant

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
news.php
1 1 <div class="jumbotron">
2 2 <?php
3   - require_once("creds.php");
4   - $link = mysql_connect(__MYSQL_HOSTNAME__, __MYSQL_USER__, __MYSQL_PASSWORD__)
  3 + $link = mysql_connect(__MYSQL_HOSTNAME__, __MYSQL_USERNAME__, __MYSQL_PASSWORD__)
5 4 or die("Impossible de se connecter : " . mysql_error());
6 5 echo 'Connexion réussie';
7 6  
... ...