Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2008, 09:38 AM
Junior Member
 
Join Date: May 2008
Posts: 6
Default How to do it?

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!

Last edited by itanium7000 : 05-27-2008 at 09:47 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2008, 04:09 AM
Junior Member
 
Join Date: May 2008
Posts: 6
Default

Aha, this problem is solved!
Thanks!
__________________
Nắng sớm nhớ cha nợ cha một sự nghiệp
Chiều ta thương mẹ nợ mẹ một nàng dâu
----------------------------
Diễn đàn Nghệ An - Hà Tĩnh:
http://nghe-online.org/forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:01 PM.