Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/11/2010, 11:31
Avatar de xalupeao
xalupeao
 
Fecha de Ingreso: mayo-2008
Ubicación: Santiago, Chile
Mensajes: 749
Antigüedad: 16 años
Puntos: 12
Duda modificar etiqueta <title>

Bueno amigos tengo un codigo asi mas o menos.

Código PHP:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Documento sin título</title>
  6. </head>
  7.  
  8. <body>
  9. <?php include($_GET['algo'].'.php'); ?>
  10. </body>
  11. </html>

bueno la idea que $_GET['algo'] ejemplo sea inicio

http://localhost/index.php?algo=inicio

¿como puedo hacer para se reemplace la etiqueta <title> desde el archivo inicio.php?


espero sus ayudas :B
__________________
Hosting en Chile en Silverhost - La solución en Hosting en Chile.