Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/09/2009, 14:00
Rauldeen
 
Fecha de Ingreso: septiembre-2009
Ubicación: USA
Mensajes: 15
Antigüedad: 17 años
Puntos: 0
Respuesta: Mostrar conenidos de la base de datos

Código PHP:
<table>
<tr> 
    <th>Comment 1</th>
</tr> 

<?PHP   
$servidor 
= 'blabla'; //ServerBD
$usuario = 'blabla'; //UsernameBD
$clave = 'blabla'; //PassDB 

$select = "SELECT *
FROM tbl_blabla"
;   

$result = mysql_query($select);

while(
$row = mysql_fetch_array($result))   
{     
   
$com1 = $row['Comment1'];
   
    echo <<<END
    <tr>        
        <td><b>$com1</b></td>
   </tr>
END;
}
?>
</table>
in his case you can show the info like html. in the browser