Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/07/2011, 16:10
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 10 meses
Puntos: 2135
Respuesta: echo <<< HTML

No necesitas el echo, simplemente con que cierres la etiqueta se imprime eso:
Código PHP:
Ver original
  1. <?php
  2. if (foo()) {
  3. ?>
  4. <html><!-- codigo html --></html>
  5. <?php }
  6. else {
  7. echo "foo";
  8. }
  9. ?>

Saludos.