Ye, I'm having some troubles with Zend framework.
More specificly the view files.
I have this:
index.phtml
Code:
<h1 align="center">
Hello, Zend Framework MVC!
</h1>
<?php echo 'Testing'; ?>
It outputs "Hello, Zend Framework MVC", but not the "Testing" part.
I tried other stuff, but it's almost like the PHP won't evaluate or be proccessed by the server.
I'm using WAMP on localhost btw.
When I check the source code on the page, I even see the PHP code there, but with the php tags and the echo part aswell. Like an HTML comment.. or something.
Any clues?
Also, another problem I'm having is when creating the .htaccess file. Whenever I have an access file, it gives me 500 server error, no matter what's in the file. Do I have to enable mod_rewrite or anything? Why is it giving me that error?
Thanks!