<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Select With option Multiple:true</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>akremedy on Select With option Multiple:true</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue#p6691</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue#p6691</guid>
        	        	<description><![CDATA[<p>According to Tony&#39;s response to me in this post, the results should already be returned in the form of a comma separated string (hence the use of explode to convert to an array).&#160;</p>
<p>To convert from an array to string, you&#39;d use implode - but this doesn&#39;t really make sense as the data should be in the form of a string in the first place.</p>
<p>If you want to start by posting an array, see the hack that I made, then use implode to convert it to a string:&#160; implode(",",$your_array);</p>
<p><a href="http://www.trirand.com/blog/?page_id=18/help/formedit-select-multiple-submit-as-post-or-get-array/page-1&#038;value=adam%25251&#038;search=1" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....8;search=1</a></p>
<p>Adam</p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 00:43:34 +0300</pubDate>
        </item>
        <item>
        	<title>Nathan on Select With option Multiple:true</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue#p6669</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-with-option-multipletrue#p6669</guid>
        	        	<description><![CDATA[<p>Hi, I have a grid with an add button that loads the form editting form.</p>
</p>
<p>On the form is a select box with the multiple option set to true(the description field).&#160; The idea is I would like a list of the values posted to the server when the form is submitted.&#160;</p>
<p>Here&#39;s the problem(which probably has an easy solution that is glaring at me ...)</p>
<p>When the form is submitted the description values are all submitted but as(according to firephp):</p>
<p>DESCRIPTION&#160;&#160;&#160; 3<br />DESCRIPTION&#160;&#160;&#160; 5<br />DESCRIPTION&#160;&#160;&#160; 8<br />DESCRIPTION&#160;&#160;&#160; 6</p>
<p>On the server side :</p>
<p>$desc = $_POST[&#39;DESCRIPTION&#39;];</p>
<p>yields only the value 6 ...</p>
</p>
<p>I&#39;ve saw posts in regards to using explode but that would work if I was pulling a comma-delim string from the db to send to the table. Here I want to receive the values, assemble as a comma-delim string and then submit to the db.</p>
<p>Any suggestions ?</p>
<p>Nathan</p>
]]></description>
        	        	<pubDate>Wed, 13 May 2009 19:37:12 +0300</pubDate>
        </item>
</channel>
</rss>