I show the code where I make my query by delegations, and I show them in a table, what I want is that the delegations field does not show them in the table since the data are the same, that is, the same delegation, so I want it to appear on the top of my table only once, so that the user knows that all the data in the table belong to that delegation !! I hope you can help me, please.
<?php
$conect = new mysqli("localhost", "onethost_horacio", "MPADT-2018", "onethost_MPA");
$v3=$_POST['codigo'];
//$sql= "SELECT * from InformacionGeneral WHERE Delegacion like '%$v3%'";
$sql = "SELECT * from TablaNinos inner join InformacionGeneral ON TablaNinos.Id_General=InformacionGeneral.Id_General WHERE Delegacion like '%$v3%'";
$resultado=mysqli_query($conect,$sql);
while($fila=mysqli_fetch_assoc ($resultado)){
?>
<tr>
<td><?php echo $fila["Id_nino"]?></td>
<td><?php echo $fila["Nombre"]?></td>
<td><?php echo $fila["Cargo"]?></td>
<td><?php echo $fila["Curp"]?></td>
<td><?php echo $fila["Telefono"]?></td>
<td><?php echo $fila["Fecha_registro"]?></td>
<td><?php echo $fila["Id_General"]?></td>
<td><?php echo $fila["Delegacion"]?></td>
<td><?php echo $fila["Parroquia"]?></td>
<td><?php echo $fila["Tios_Rensponsables"]?></td>
<td><?php echo $fila["Asessor_Espiritual"]?></td>
<td><?php echo $fila["Fecha"]?></td>
<td><?php echo $fila["Tios_apoyo"]?></td>
</tr>
<?php
}
?>