Ver Mensaje Individual
  #4 (permalink)  
Antiguo 22/04/2004, 06:18
yazo
 
Fecha de Ingreso: abril-2003
Mensajes: 363
Antigüedad: 21 años
Puntos: 3
El codigo que estoy utilizando es:

Código PHP:
<html>
<head>
<title>Novedades</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<LINK href="../estilo.css" type=text/css rel=stylesheet>
<script src="../javas/barra.js"></script>
<style type="text/css">
<!--
body {
    background-color: #E9E9E9;
}
-->
</style>
</head>

<body>
<?
//Conexion con la base de datos
mysql_connect("localhost","root","root");

//Ejecutamos la sentencia SQL
mysql_db_query("nombrebd","select * from novedades Where ID='$id");
?>
<?
//Mostramos los registros
echo "<p align='justify' class='texto'><strong>".$row["$titulo"]."</strong></p>
<table  border='0' align='right' cellpadding='0' cellspacing='0'>
  <tr>
    <td width='5'>&nbsp;</td>
    <td width='210'><span class='textopeque'><img src='imagenes/prueba.jpg' width='210' height='300' align='right'></span></td>
    <td width='5'>&nbsp;</td>
  </tr>
</table>"
;
echo 
"<p align='justify' class='textopeque'>".$row["$noticia"]."</p><p align='justify' class='textopeque Estilo1'>Escrita el ".$row["$fecha"]."</p>";
?>
</body>
</html>
¿Que me falla?