how can I separate the same numbers with hr line? The numbers are pulled from the db row. example:
1
1
1
<hr>
----------
2
2
2
<hr>
----------
<?php
$result=mysqli_query($con,"SELECT * FROM homepage order by bangdbs");
while($row=mysqli_fetch_array($result)) {
echo "<td align='left'>".$row['site_id']."</td>";
if($site_id) {
echo '<tr onclick="toggle(this)" style=""><td colspan="7"><hr noshade="" style="color:#F34105;"></td></tr>';
}
}
?>