Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/06/2012, 02:05
Avatar de rodrigo791
rodrigo791
 
Fecha de Ingreso: noviembre-2009
Ubicación: Uruguay
Mensajes: 1.339
Antigüedad: 14 años, 5 meses
Puntos: 168
Respuesta: Rellenar el h1 y h4 con el texto de title

Porque no definis el titulo como una variable y luego pones los h1 y el h4 igual a esa variable title?

Código PHP:
Ver original
  1. <html>
  2. ...
  3. <head>
  4. <title><?php $titulo = "Titulo"; echo $titulo; ?></title>
  5. </head>
  6. ...
  7.  
  8. <h1><?php echo $titulo; ?></h1>
  9.  
  10. <h4><?php echo $titulo; ?></h4>
  11. </html>

Capas que entendí mal, no se.