$conexion = mysql_connect ("llda963.servidoresdns.net","qin040","BFSalat11");
mysql_select_db("qin040");
$query="SELECT * FROM PORTADA WHERE ACTIVO = 'S' AND borrado='N' AND SECCION='Destacamos' ORDER BY ID DESC LIMIT 2;";
$consulta= mysql_query($query);
while ($portada = mysql_fetch_array($consulta))
{
echo ' |
|
'.$portada['TEXTO_BREVE'].'
|
El Atril |
$query="SELECT * FROM BIBLIOTECA WHERE ACTIVO_ATRIL = 'Si' AND borrado='N' ORDER BY FECHA_CREACION DESC LIMIT 5;";
$consulta= mysql_query($query);
while ($biblio = mysql_fetch_array($consulta))
{
echo '
';
}
?>
|
|
|