Ver Mensaje Individual
  #14 (permalink)  
Antiguo 02/05/2009, 08:52
Avatar de rompeguesos
rompeguesos
 
Fecha de Ingreso: marzo-2009
Mensajes: 692
Antigüedad: 15 años, 1 mes
Puntos: 8
Respuesta: Consulta a la base de datos continua en diferentes divs?

e probao a hacer esto y me muestra los mismo titulos:

Código PHP:
<?php 

include("usuarios/reg/config.php");  

// mostramos las noticias,   
$consulta =  mysql_query("SELECT not_ID, titulo, texto, email, f_alta, imagen FROM noticias ORDER BY not_ID DESC LIMIT 3"$db_link)  
or die(
mysql_error());  
while(list(
$not_ID$titulo$texto$email$f_alta$imagen)=mysql_fetch_row($consulta)) {  
$noticia[1] = $not_ID;  
$noticia[2] = $titulo
$noticia[3] = $texto
$noticia[4] = $email
$noticia[5] = $f_alta
$noticia[6] = $imagen
$noticia[7] = $titulo


echo 
"$noticia[2]";
echo 
"$noticia[7]";
?>
eso no es normal no ? ejjeje