Jump to content

phtml question


witchy478

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/264922-phtml-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.