Ver Mensaje Individual
  #5 (permalink)  
Antiguo 06/05/2006, 17:02
Avatar de xyyy7
xyyy7
 
Fecha de Ingreso: enero-2004
Ubicación: Maracay.-
Mensajes: 637
Antigüedad: 20 años, 3 meses
Puntos: 5
Código PHP:
<?
$Plantilla
="
<br><b>{TITULO}<b><br> 
{FECHA}<br> 
{AUTOR}"
;

$ssql "select * from $TABLA ORDER BY ID DESC LIMIT 0,3";
$xy mysql_query($ssql); 
while (
$row=mysql_fetch_object($xy)){ 
    
$titulo=$row->titulo;
    
$descrip=$row->descrip;
    
$url=$row->url;
$Plantillastr_replace("{TITULO}","$titulo",$Plantilla);
$Plantillastr_replace("{FECHA}","$fecha",$Plantilla);
$Plantillastr_replace("{AUTOR}","$autor",$Plantilla);
  
echo
"$Plantilla";
}   
?>
Resultados FATALES:
Los Tres registros que mando a imprimir son los mismo , me toma el pirmer registro conseguido para dar valores identicos a los siguientes registros.-

Que Error puede haber?

Saludos.-
__________________
Maracay Edo Aragua - Venezuela :
Mi Favorita :
http://www.MySQL.Com