im trying to divide some info retrieved from a mysql db to 3 columns ("col-md-4") without repeating the info. I have been have trouble with mysqli_fecth_assoc() beacuse it replicates the info in all columns. Any idea? Thanks in advance
<div class="container-fluid">
<div class="row">
<?php while($fila = mysqli_fetch_assoc($resultado)){ ?>
<div class="col-md-4">
<p><?php echo $fila["Nombre"];?></p>
<HR WIDTH="50%" SIZE="3">
</div>
<div class="col-md-4">
<p><?php echo $fila["Nombre"];?></p>
<HR WIDTH="50%" SIZE="3">
</div>
<div class="col-md-4">
<p><?php echo $fila["Nombre"];?></p>
<HR WIDTH="50%" SIZE="3">
</div>
<?php } ?>
</div>
the problem with thath code is that it repeats the same $fila["Nombre"] in all columns.