Commit ba2c7a63d4ef359664722fd54ebe43fd7a22228a

Authored by Geoffrey PREUD'HOMME
2 parents d70dd0a0 92042353

Merge branch 'master' of ssh://cie/crep

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -14,7 +14,7 @@ if(!mysql_select_db('crep', $link)){ @@ -14,7 +14,7 @@ if(!mysql_select_db('crep', $link)){
14 exit; 14 exit;
15 } 15 }
16 16
17 -$requete = "select news.pk as pk, created, title, content, users.realname as userName from news, users where news.fk_author=users.pk;"; 17 +$requete = "select news.pk as pk, DATE_FORMAT(created,'%e-%m-%Y') AS created, title, content, users.realname as userName from news, users where news.fk_author=users.pk;";
18 $resultat = mysql_query($requete); 18 $resultat = mysql_query($requete);
19 19
20 //Pour debugger 20 //Pour debugger