Ver Mensaje Individual
  #8 (permalink)  
Antiguo 23/04/2004, 15:50
yazo
 
Fecha de Ingreso: abril-2003
Mensajes: 363
Antigüedad: 21 años
Puntos: 3
El codigo que he usado finalmente corrigiendo lo que me habeis aconsejado ha sido:

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","fran","fran");

//Ejecutamos la sentencia SQL
mysql_db_query("nombrebd","select * from novedades Where ID='".$_GET['numero']."'");
?>
<?
//Mostramos los registros
echo "<p align='justify' class='texto'><strong>".$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/castrol.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>
Mi duda es como tengo que hacer ahora para mostrar el contenido de dicha novedad, es decir para mostrar el contenido de dicha variable.
Según lo tengo ahora no me aparece nada, ni miestra error ni na, se queda en blanco.