$query_banner = "SELECT * FROM banners";
$banner = mysqli_query($connDb, $query_banner);
$row_banner = mysqli_fetch_assoc($banner);
$totalRows_banner = mysqli_num_rows($banner);
?>
-
$i_next = 0;
do { ?>
$query_banner_peq = "SELECT * FROM banners";
$banner_peq = mysqli_query($connDb, $query_banner_peq);
$row_banner_peq = mysqli_fetch_assoc($banner_peq);
$totalRows_banner_peq = mysqli_num_rows($banner_peq);
$i_next =1;
do { ?>
echo $i_next; ?>
$i_next ++;
} while ($row_banner_peq = mysqli_fetch_assoc($banner_peq))?>
if ($row_usuario['id_user']<>"") {?>
Bienvenido | Salir
} else {?> }?>
if ($row_get_noticias['img']!="fotoNoticia/no_disponible.jpg") {
$foto = $row_get_noticias['img'];
?>
} ?>