Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/04/2007, 20:38
kk0rps
 
Fecha de Ingreso: abril-2007
Mensajes: 13
Antigüedad: 17 años
Puntos: 0
Re: Title dinamico

Hola, te voy a mostrar de la forma que yo lo haria, las variables para mi son mas faciles de la siguiente forma,

Código PHP:
]<?
$host
="localhost";
$usuario_db="root";
$pass_usuario_db="root";
$basedatos="prueba";

$conexion=mysql_connect($host,$usuario_db,$pass_usuario_db);
$seldb=mysql_select_db($basedatos);

$sop="SELECT * FROM noticias ORDER BY idnoticia DESC ";
$result=mysql_query($result);
$lista mysql_fetch_array($result);
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?=$lista["titulo"];?></title>
<link rel="stylesheet" type="text/css" href="estilos.css">
</head>

<body>
</body>
</html>
De esta forma no creo que tengas ningun problema, espero que te sirva...