Hi,

In a .phtml file, I echo a string generated from the associated action:
<?php echo $this->html; ?>

This string contains my full PHP Webpage, but unfortunately, the php will
not be interpreted and the browser will display some code.

So to show some code, I have a string containing my full php webpage
(generated by an action), which I want to display.
[...]
function viewAction() {
        $this->view->html = [...];
}
[...]
in view.phtml, a single line:

<?php echo $this->html; ?>

How can I make this work ? Any idea ?

Thank you !
-- 
View this message in context: 
http://n4.nabble.com/Echo-a-string-containing-the-full-php-webpage-issue-tp1459193p1459193.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to