Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/12/2006, 01:59
Gustavo_AR
 
Fecha de Ingreso: septiembre-2006
Ubicación: Argentina
Mensajes: 190
Antigüedad: 17 años, 7 meses
Puntos: 1
Re: Linkear un email seleccionado de la base de datos...

Código PHP:
<?
include "conexion.php";
function 
getLibro($con){
$Query="select nombre,fecha,email,comentario from mensajes order by id";
return 
mysql_query($Query,$con);
}
?>

  <p><? $libro=getLibro($con);
         while (
$unLibro=mysql_fetch_array($libro)){?>
           Nombre: <?php echo $unLibro['nombre'];?>
           Fecha: <?php echo $unLibro['fecha'];?>
           Email: <?php echo $unLibro['email'];?>
           Mensaje: <?php echo $unLibro['comentario'];?>
          <div id='lineaLibro'></div><br>
        <?php }
  
?> </p>
__________________
Gustavo