Hi everyone,
I want to create a simple site using Zend Framework, my site layout like below:
App directory structure:
application
-
controllers
-- IndexController.php
-
models
-- Category.php
-
view
-- scripts
--- index.phtml
--- footer.phtml
--- showCat.phtml
-
public
-- .htaccess
-- index.php
and already exist a database with news table.
I don't know how to fetch database to display on showCategory.phtml for that! Please help me...! Thanks a lot!
---------
Sory my english!