<?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: Parsing jQuery&#8217;s sortable(&#8220;serialize&#8221;) Method with PHP (and symfony)</title>
	<atom:link href="http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 17:44:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Sazan</title>
		<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/comment-page-1/#comment-4856</link>
		<dc:creator>Sazan</dc:creator>
		<pubDate>Wed, 22 Apr 2009 18:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mirthlab.com/?p=48#comment-4856</guid>
		<description>&lt;p&gt;Without using symfony:&lt;/p&gt;

&lt;p&gt;//This could be used to grab the post into $output.&lt;/p&gt;

&lt;p&gt;parse_str($_POST[item_order_str], $output);&lt;/p&gt;

&lt;p&gt;//Now, as $output has multi dimensional associative array. Now, foreach would work with item_order:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    foreach ($output as $item_order)
    {
            foreach($item_order as $position =&gt; $values)
            {
            print &quot;Item from $values moved to =&gt; $position\n&quot;; //or add your sql statements

            }

    }
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Without using symfony:</p>

<p>//This could be used to grab the post into $output.</p>

<p>parse_str($_POST[item_order_str], $output);</p>

<p>//Now, as $output has multi dimensional associative array. Now, foreach would work with item_order:</p>

<pre><code>    foreach ($output as $item_order)
    {
            foreach($item_order as $position =&amp;gt; $values)
            {
            print "Item from $values moved to =&amp;gt; $position\n"; //or add your sql statements

            }

    }
</code></pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/comment-page-1/#comment-994</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 03 Nov 2008 21:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mirthlab.com/?p=48#comment-994</guid>
		<description>&lt;p&gt;I concur.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I concur.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: openmind &#187; Blog Archive &#187; PHP: url_string_to_array</title>
		<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/comment-page-1/#comment-376</link>
		<dc:creator>openmind &#187; Blog Archive &#187; PHP: url_string_to_array</dc:creator>
		<pubDate>Fri, 12 Sep 2008 21:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mirthlab.com/?p=48#comment-376</guid>
		<description>&lt;p&gt;[...] There&#8217;s really no easy way to pass jQuery&#8217;s sortable serialize method output to PHP; Mark Quezada has one elegant solution. The following code owes its thesis to his post; this builds on the idea [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] There&#8217;s really no easy way to pass jQuery&#8217;s sortable serialize method output to PHP; Mark Quezada has one elegant solution. The following code owes its thesis to his post; this builds on the idea [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Quezada</title>
		<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/comment-page-1/#comment-259</link>
		<dc:creator>Mark Quezada</dc:creator>
		<pubDate>Tue, 19 Aug 2008 10:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mirthlab.com/?p=48#comment-259</guid>
		<description>&lt;p&gt;@Mike: Yup, that&#039;s the way I ended up using it.  Seems strange and wrong to me that the default usage expands all variables into the local scope. Anyway, I&#039;ve updated the article. Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Mike: Yup, that&#8217;s the way I ended up using it.  Seems strange and wrong to me that the default usage expands all variables into the local scope. Anyway, I&#8217;ve updated the article. Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Nolan</title>
		<link>http://blog.mirthlab.com/2008/08/18/parsing-jquerys-sortableserialize-method-with-php-and-symfony/comment-page-1/#comment-255</link>
		<dc:creator>Mike Nolan</dc:creator>
		<pubDate>Tue, 19 Aug 2008 07:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mirthlab.com/?p=48#comment-255</guid>
		<description>&lt;p&gt;It&#039;s probably safer to provide the second parameter to parse_str() and access from that array rather than creating variables in the local scope.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;s probably safer to provide the second parameter to parse_str() and access from that array rather than creating variables in the local scope.</p>]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk
Object Caching 209/325 objects using disk

Served from: blog.mirthlab.com @ 2010-09-06 02:33:11 -->