Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/02/2012, 09:25
thezzin
 
Fecha de Ingreso: septiembre-2008
Mensajes: 350
Antigüedad: 15 años, 7 meses
Puntos: 31
Respuesta: Codigo HTML en una variable

y ya intentaste con heredoc syntax


Código PHP:
$foo = <<<EOD
<h1>Un texto html, bla bla bla bla</h1>
EOD; 
__________________
╬-----╬
║☺₧☻║
╬-----╬