Code Duplication    Length = 7-10 lines in 2 locations

3rdparty/getID3/demos/demo.mysqli.php 2 locations

@@ 1749-1755 (lines=7) @@
1746
	$result = mysqli_query_safe($con, $SQLquery);
1747
	echo 'Files of format <b>'.$fileformat.'.'.$audioformat.'</b>:<table border="1" cellspacing="0" cellpadding="4">';
1748
	echo '<tr><th>file</th><th>audio</th><th>filename</th></tr>';
1749
	while ($row = mysqli_fetch_array($result)) {
1750
		echo '<tr>';
1751
		echo '<td>'.$row['fileformat'].'</td>';
1752
		echo '<td>'.$row['audio_dataformat'].'</td>';
1753
		echo '<td><a href="'.htmlentities('demo.browse.php?filename='.rawurlencode($row['filename']), ENT_QUOTES).'">'.htmlentities($row['filename']).'</a></td>';
1754
		echo '</tr>';
1755
	}
1756
	echo '</table><hr>';
1757
1758
} elseif (!empty($_REQUEST['trackinalbum'])) {
@@ 2021-2030 (lines=10) @@
2018
		$result = mysqli_query_safe($con, $SQLquery);
2019
		echo 'VBR methods:<table border="1" cellspacing="0" cellpadding="4">';
2020
		echo '<tr><th>Count</th><th>VBR Method</th></tr>';
2021
		while ($row = mysqli_fetch_array($result)) {
2022
			echo '<tr>';
2023
			echo '<TD ALIGN="RIGHT">'.htmlentities(number_format($row['num'])).'</td>';
2024
			if ($row['vbr_method']) {
2025
				echo '<td><a href="'.htmlentities($_SERVER['PHP_SELF'].'?vbrmethod='.$row['vbr_method'], ENT_QUOTES).'">'.htmlentities($row['vbr_method']).'</a></td>';
2026
			} else {
2027
				echo '<td><i>CBR</i></td>';
2028
			}
2029
			echo '</tr>';
2030
		}
2031
		echo '</table>';
2032
2033
	} else {