Commit ce5e6320185e9d4146587b423935069bedd07007
1 parent
f2419e4b
News.php modif Kevin
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
news.php
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | exit; | 9 | exit; |
10 | } | 10 | } |
11 | 11 | ||
12 | - $requete = "select title, content, user.realname as userName from news, user where news.fk_author=user.pk;"; | 12 | + $requete = "select title, content, users.realname as userName from news, users where news.fk_author=users.pk;"; |
13 | $resultat = mysql_query($requete); | 13 | $resultat = mysql_query($requete); |
14 | 14 | ||
15 | //Pour debugger | 15 | //Pour debugger |