SQL results displays same result multiple times

Not that I can see. I’m not sure why the code is not broken up by lines in my last post or why $row_cnt is bold. Having played around with it a little more I noticed that some query display just fine and only pull up each video once while others still continue to display the same result 5 to 7 times each showing a total of 45 videos found because it counts and shows the same video so many times

$result = $connect->query($sql);

> if ($result->num_rows > 0) {
> 	$row_cnt = $result->num_rows;
> 	echo "<h1>" . $row_cnt . " videos</h1>";
> 	$i = 0;