Ver Mensaje Individual
  #17 (permalink)  
Antiguo 30/08/2011, 18:20
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: Problema con variable

Si el caso es para el titulo, podes establecer el titulo con javascript, posteriormente a la obtención del $nombre
Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>titulo</title>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. </head>
  8. <body>
  9. <?php
  10. $nombre = "nuevo titulo";
  11. ?>
  12.  
  13.  
  14. <script type="text/javascript">
  15. document.title = '<?php echo $nombre; ?>';
  16. </script>
  17. </body>
  18. </html>

saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.