diff --git a/news.php b/news.php index cdfeabf..b28323e 100644 --- a/news.php +++ b/news.php @@ -14,7 +14,7 @@ if(!mysql_select_db('crep', $link)){ exit; } -$requete = "select news.pk as pk, title, content, users.realname as userName from news, users where news.fk_author=users.pk;"; +$requete = "select news.pk as pk, created, title, content, users.realname as userName from news, users where news.fk_author=users.pk;"; $resultat = mysql_query($requete); //Pour debugger @@ -36,7 +36,7 @@ while ($row = mysql_fetch_assoc($resultat)) { echo '
'.$row['content'].'
'; echo ''; echo ' '; } -- libgit2 0.21.2