ya lo pude solucionar anexo código completo de como debería quedar doy por cerrado el hilo
Código PHP:
Ver original<?php
$sql = "
SELECT
detalles_categorias.id,
detalles_categorias.fk_categorias,
detalles_categorias.precio,
detalles_categorias.descripcion,
detalles_categorias.detalles,
GROUP_CONCAT(detalles_img.imagen SEPARATOR '-') AS imagen
FROM detalles_categorias INNER JOIN detalles_img ON detalles_img.fk_detalles_categorias = detalles_categorias.id
WHERE detalles_img.fk_detalles_categorias = detalles_categorias.id
GROUP BY detalles_img.fk_detalles_categorias";
$consulta = $DB_con->prepare($sql);
$consulta->execute();
if($consulta->rowCount() > 0){
$i=1;
echo "<table class='bordered responsive-table'>
<thead>
<tr>
<th data-field='Nº'>Nº</th>
<th data-field='Código'>categorias</th>
<th data-field='Código'>precio</th>
<th data-field='Código'>descripcion</th>
<th data-field='Código'>detalles</th>
<th data-field='Código' colspan='2'>imagenes</th>
<th data-field='Operaciones'>Operaciones Administrador</th>
</tr>
</thead>";
while ($linea = $consulta->fetch(PDO::FETCH_ASSOC)) {
echo "
<tr>
<td align=center>$i</td>
<td align=center>{$linea['fk_categorias']}</td>
<td align=center>{$linea['precio']}</td>
<td align=center>{$linea['descripcion']}</td>
<td align=center>{$linea['detalles']}</td>
";
?>
<?php
$detalles_img = explode("-", $linea['imagen']); foreach ($detalles_img as $value) {
echo ('<td colspan="2"><img src="http://www.forosdelweb.com/f86/galerias/'.$value.'" class=responsive-img circle center-align width=50px height=50px/></td>') ;
}
?>
<?php
echo "<td colspan='2'>
<form action='actualizar_multiple.php' method='GET'>
<input type=hidden name=id value='$linea[id]'>
<button class='btn waves-effect blue-grey darken-4 left
btn-small tooltipped' data-position='bottom'
data-tooltip='Actualizar' type='submit' name='actualizar'>
<i class='material-icons'>update</i>
</button></form>
<form action='consultar_seguros.php' method='POST'>
<input type=hidden name=id value='$linea[id]'>
<button class='btn waves-effect blue-grey darken-4 left
btn-small tooltipped' data-position='bottom'
data-tooltip='Eliminar' type='submit' name='eliminar'>
<i class='material-icons'>delete</i>
</button></form>
<a href='multiple.php'
<button class='btn waves-effect blue-grey darken-4 left
btn-small tooltipped' data-position='bottom'
data-tooltip='Volver' type='submit'>
<i class='material-icons'>reply_all</i>
</button></a>
</td>
</tr>";
$i++;
}
}else
echo "<div class='col s12 card-panel yellow darken-2 center'>
<h5 class='black-text text-darken-2 center CONDENSED LIGHT5'>
¡ Advertencia: No se ha encontrado ningún registro ! <a href='multiple.php' class='teal-text darken-4'>volver</a>
</h5>
</div>";
echo "</table>";
?>