Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/10/2005, 21:42
okram
Invitado
 
Mensajes: n/a
Puntos:
Hola:

Rapidamente te explico:

Código PHP:
<?php
// conexion con tu bd, cabeceras de tu pagina y todo eso
$sql_query="SELECT * FROM nombre_de_tu_tabla DESC";
$do=mysql_query($sql_query);
echo 
'<table>';
while(
$datos=mysql_fetch_array($do)) {
//codigo html de tu tabla para mostrar un registro
echo '<tr>';
echo 
'<td width=100>Nombre:';
echo 
'<td width=400>'.$datos['nombre'];
echo 
'</tr>';
echo 
'<tr>';
echo 
'<td width=100>Email:';
echo 
'<td width=400>'.$datos['email'];
echo 
'</tr>';
echo 
'<tr>';
echo 
'<td width=100>Ciudad:';
echo 
'<td width=400>'.$datos['ciudad'];
echo 
'</tr>';
echo 
'<tr>';
echo 
'<td width=100>URL:';
echo 
'<td width=400>'.$datos['url'];
echo 
'</tr>';
echo 
'<tr>';
echo 
'<td width=100>Mensaje:';
echo 
'<td width=400>'.$datos['mensaje'];
echo 
'</tr>';
echo 
'<tr>';
echo 
'<td width=100>Fecha:';
echo 
'<td width=400>'.$datos['fecha'];
echo 
'</tr>';
}
echo 
'</table>';
?>
Revisa este codigo y postea los problemas o dudas que tengas

Salu2