This question already has an answer here:
So I was wondering how do I display all usernames currently saved in my DB?
What I currently have still only displays 1 username
thanks for any help.
<?php
$con = new mysqli("blank", "blank", "blank", "blank");
$result = mysqli_query($con,"SELECT * FROM users WHERE user_id > '0'");
$row = mysqli_fetch_array($result);
echo $row['username'];
?>
</div>