I have a MySQL table called comments that contains a column called vz_comments and basically I want to show all the comments related to the character_id. However my current query only shows 1 comment but when I put the statement into phpmyadmin it shows all the comments.
$comments_query = $conn->query("SELECT vz_comments FROM comments WHERE character_id='$comment_id'");
$comments_array = $comments_query->fetch_array();
echo $comments_array['vz_comments'];
fetch_all().$comments_array = $comments_query->fetch_all(MYSQLI_ASSOC)