witchy478 Posted June 28, 2012 Share Posted June 28, 2012 Hi I don't know if this is the right place, but I'm using a zend framework and I have wamp installed. My problem is that when I use home.phtml and I try to view it through the localhost all I get is the php coding not the actual content that I wanted. For example <h1>Hello World</h1> <?php echo $this->message ?> And what I get is Hello World message ?> I don't actualy get the correct thing which would 'This is my new Zend Framework project!' How do I fix this? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/264922-phtml-question/ Share on other sites More sharing options...
Pikachu2000 Posted June 28, 2012 Share Posted June 28, 2012 You need to either use .php file extension, or configure the server to pass .phtml files to the php interpreter. Quote Link to comment https://forums.phpfreaks.com/topic/264922-phtml-question/#findComment-1357666 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.