I have here my code
$query=mysqli_query($dbcon,"select count(user_name) from `viewlist` where user_name='$_name'");
What I want to do is that it only shows columns with the username $_name but arrange it on the table descending through id (which is auto increment). I have tried ordered by id DESC but didn't work.