<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Populate a Zend_Form select with database returned data</title>
	<atom:link href="http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/</link>
	<description>PHP, (X)HTML, CSS and Everything Else</description>
	<lastBuildDate>Thu, 15 Dec 2011 11:54:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Bench Saw %0B</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-248</link>
		<dc:creator>Bench Saw %0B</dc:creator>
		<pubDate>Sun, 30 Jan 2011 00:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-248</guid>
		<description>I am really thankful to this topic because it really gives useful information</description>
		<content:encoded><![CDATA[<p>I am really thankful to this topic because it really gives useful information</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shanthi</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-243</link>
		<dc:creator>shanthi</dc:creator>
		<pubDate>Tue, 23 Mar 2010 23:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-243</guid>
		<description>My form contains 3 different dropdown. When user adds a new record, I see the dropdown values from the database. User selects one item from the list and I add the record to the table. When user edits this record, I want to still display the dropdown list will all values along with the value in the record that currently exists. I am using form-&gt;populate to populate the form after fetching the record from the table. How do I populate the drop down list?</description>
		<content:encoded><![CDATA[<p>My form contains 3 different dropdown. When user adds a new record, I see the dropdown values from the database. User selects one item from the list and I add the record to the table. When user edits this record, I want to still display the dropdown list will all values along with the value in the record that currently exists. I am using form-&gt;populate to populate the form after fetching the record from the table. How do I populate the drop down list?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hameed</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-225</link>
		<dc:creator>Hameed</dc:creator>
		<pubDate>Thu, 23 Apr 2009 08:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-225</guid>
		<description>Hi, I want to display the select options like below.

category1
   item1
   item2
category2
   item3
   item4

how do i add space in front of sub items 

I tried like this

$category-&gt;addMultiOption($c-&gt;id,&#039;   &#039;.$c-&gt;name);

$category-&gt;addMultiOption($c-&gt;id,&#039;&#160;&#160;&#160;&#039;.$c-&gt;name);

but not working.

also i want to specify different color for category and item through css class.

Please help me. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, I want to display the select options like below.</p>
<p>category1<br />
   item1<br />
   item2<br />
category2<br />
   item3<br />
   item4</p>
<p>how do i add space in front of sub items </p>
<p>I tried like this</p>
<p>$category-&gt;addMultiOption($c-&gt;id,&#8217;   &#8216;.$c-&gt;name);</p>
<p>$category-&gt;addMultiOption($c-&gt;id,&#8217;&nbsp;&nbsp;&nbsp;&#8217;.$c-&gt;name);</p>
<p>but not working.</p>
<p>also i want to specify different color for category and item through css class.</p>
<p>Please help me. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerard Roche</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-221</link>
		<dc:creator>Gerard Roche</dc:creator>
		<pubDate>Thu, 05 Feb 2009 23:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-221</guid>
		<description>sorry about the late reply, i&#039;ve been awful busy and have only now logged in to post and found some comments.

Rob Allen posted a very good tutorial on Zend_Form, http://akrabat.com/2008/02/21/simple-zend_form-example/</description>
		<content:encoded><![CDATA[<p>sorry about the late reply, i&#8217;ve been awful busy and have only now logged in to post and found some comments.</p>
<p>Rob Allen posted a very good tutorial on Zend_Form, <a href="http://akrabat.com/2008/02/21/simple-zend_form-example/" rel="nofollow">http://akrabat.com/2008/02/21/simple-zend_form-example/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kartieka</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-214</link>
		<dc:creator>kartieka</dc:creator>
		<pubDate>Wed, 26 Nov 2008 07:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-214</guid>
		<description>sorry if this is a stupid question..
what must i put in my view to display the drop down..
plz give some idea..</description>
		<content:encoded><![CDATA[<p>sorry if this is a stupid question..<br />
what must i put in my view to display the drop down..<br />
plz give some idea..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerard Roche</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-128</link>
		<dc:creator>Gerard Roche</dc:creator>
		<pubDate>Mon, 27 Oct 2008 18:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-128</guid>
		<description>Hi, 

Take a look at Zend_Dojo, http://framework.zend.com/manual/en/zend.dojo.html. You might fond what you&#039;re looking for there.

There have also been some JQuery proposals:

http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei

http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Extension+-+Benjamin+Eberlei</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Take a look at Zend_Dojo, <a href="http://framework.zend.com/manual/en/zend.dojo.html" rel="nofollow">http://framework.zend.com/manual/en/zend.dojo.html</a>. You might fond what you&#8217;re looking for there.</p>
<p>There have also been some JQuery proposals:</p>
<p><a href="http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei" rel="nofollow">http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery_View_Helper_JQuery+-+Benjamin+Eberlei</a></p>
<p><a href="http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Extension+-+Benjamin+Eberlei" rel="nofollow">http://framework.zend.com/wiki/display/ZFPROP/ZendX_JQuery+UI+Widgets+Extension+-+Benjamin+Eberlei</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomasr</title>
		<link>http://www.peacocksuit.com/blog/2008/08/30/populate-a-zend_form-select-with-mysql-returned-data/comment-page-1/#comment-79</link>
		<dc:creator>tomasr</dc:creator>
		<pubDate>Mon, 06 Oct 2008 14:25:04 +0000</pubDate>
		<guid isPermaLink="false">http://peacocksuit.com/blog/?p=46#comment-79</guid>
		<description>Hi, could you advice me with somenting?
I have two select boxes in zend_form writern and I want filled second select box during contain of first select box, most rather by jquery.
But I can&#039;t integreate this feature to zend framework.

Sorry for my english.
Thank you.</description>
		<content:encoded><![CDATA[<p>Hi, could you advice me with somenting?<br />
I have two select boxes in zend_form writern and I want filled second select box during contain of first select box, most rather by jquery.<br />
But I can&#8217;t integreate this feature to zend framework.</p>
<p>Sorry for my english.<br />
Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

