hola amigos tengo una duda muy grande
ya que quiero que mis paginas dinamicas
tengan "title" dinamico
uso este codigo
haber si me siguen
en la pagina dinamica es esta
Código PHP:
<html>
<head>
<?
$cnx = mysql_connect("host", "user", "") or die("$msg[16]");
$sdb = mysql_select_db("titulo") or die("$msg[17]");
$result = mysql_query("SELECT id, titulo, noticia, foto, audio,tema FROM noticiassin ORDER BY id DESC");
$row = mysql_fetch_row($result);
$titulo = $row[5];
echo '<title>' . $titulo . '</title>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">';
echo '<link rel="stylesheet" type="text/css" href="estilos.css">';
echo '</head>';
?>
todo anda bien al cargarla me pone el title que quiero y todo.
pero en el momento de analizar el meta tag con algun analizador de meta tag online
me dice que no tiene title
hago algo mal???
ayuda por favor