require('cgi-bin/contador.php'); include('cgi-bin/navega.php'); include('cgi-bin/enlaces.php'); include('cgi-bin/pie.php'); include('cgi-bin/enlacesindex.php'); ?>
$enlace = mysqli_connect("localhost", "eriscomm_blogus", "ecen9054", "eriscomm_blog"); $result=mysqli_query($enlace, "select * from bl_arts order by id desc limit 20"); ?> while ($row=mysqli_fetch_array($result)) { echo''.$row["titulo"].''; echo' '.$row["fecha"].' - Lecturas: '.$row["visitas"].' - Categoria: '.$row["categoria"].' - Autor: '.$row["autor"].' '; echo''; echo' '.$row["resumen"].' '; echo'Leer Más '; echo'
'; } mysqli_free_result($result) ?> |
Navega echo "$navega"; ?>
Temas
$enlace = mysqli_connect("localhost", "eriscomm_blogus", "ecen9054", "eriscomm_blog"); $result=mysqli_query($enlace, "select distinct categoria from bl_arts order by fecha desc limit 20"); ?> while ($row=mysqli_fetch_array($result)) { echo' '; } mysqli_free_result($result) ?>
Archivo
$enlace = mysqli_connect("localhost", "eriscomm_blogus", "ecen9054", "eriscomm_blog"); $result=mysqli_query($enlace, "select distinct aa from bl_arts order by id"); ?> while ($row=mysqli_fetch_array($result)) { echo' '; } mysqli_free_result($result) ?> $enlace = mysqli_connect("localhost", "eriscomm_blogus", "ecen9054", "eriscomm_blog"); $año = date ("Y"); $result=mysqli_query($enlace, "select distinct mm from bl_arts where aa = '$año' order by id"); ?> while ($row=mysqli_fetch_array($result)) { echo''; } mysqli_free_result($result) ?>
Enlaces echo "$enlaces"; ?> echo "$enlacesindex"; ?> |
echo "$pie"; ?> |
|