Categories
Polls
Loading ...Recent Comments
Links
Zend Framework Archive
-
Zend Framework: Populate Select with DB results
Posted on April 23, 2009 | No Comments
After a lot of struggling and web searching I finally found out how to do this. And since I didn't really find someone who had the same problem as me, I thought I should write a small tutorial on this topic. My problem: I had a form (BlogForm.php) where i initialized the form for my blog entries. In this form I have a selection box for selecting categories. The problem was, how could I populate this selection box with database results?