title: Break an array of saved list from droppable area
body: <p>I have a loop of droppable objects. I want to save and print list of objects for each row in the loop. I have a <a href="https://jsfiddle.net/montel388/ny1n9gm0/" rel="nofollow">fiddle</a> here with two rows. So what i want is two different lines of saved objects, for each row.
  Here is code with loop: </p>
  
  <pre><code>            &lt;label&gt;&lt;?php for($y=0;$y&lt;$len;$y++)
                          {
                              echo "&lt;div class='proc'&gt; &lt;pre&gt;";
                              echo "Process: ".$proc[$y]."      ";
                              echo "People required: ".$num[$y]."     ";  
                              echo "&lt;span class='assigned' name='assigned[]' &gt;People Assigned: &lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;";  
                      ?&gt;
                      &lt;div class="procLeader"&gt;
                      &lt;label&gt;Leader:&lt;/label&gt;
                          &lt;div class="ui-widget-content"&gt;
                          &lt;div class="procleader"&gt;
                              &lt;ol&gt;
                                  &lt;li class="placeholder" name="procleader[]" &lt;?php if (isset($procleader)) echo 'value="'.$procleader.'"' ?&gt;&gt;Add Process Leader here&lt;/li&gt;
                                  &lt;input type="hidden" name="procleader[]" class="hiddenListInput3" /&gt;
                              &lt;/ol&gt;
                          &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="procChecker"&gt;
                      &lt;label&gt;Checker:&lt;/label&gt;
                          &lt;div class="ui-widget-content"&gt;
                          &lt;div class="procchecker"&gt;
                              &lt;ol&gt;
                                  &lt;li class="placeholder" name="procchecker[]" &lt;?php if (isset($procchecker)) echo 'value="'.$procchecker.'"' ?&gt;&gt;Add Process Checker here&lt;/li&gt;
                                  &lt;input type="hidden" name="procchecker[]" class="hiddenListInput4" /&gt;
                              &lt;/ol&gt;
                          &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="prodStuff"&gt;
                      &lt;label&gt;Stuff:&lt;/label&gt;
                          &lt;div class="ui-widget-content"&gt;
                          &lt;div class="prodstuff"&gt;
                              &lt;ol&gt;
                                  &lt;li class="placeholder" name="prodstuff[]" &lt;?php if (isset($prodstuff)) echo 'value="'.$prodstuff.'"' ?&gt;&gt;Add Stuff here&lt;/li&gt;
                                  &lt;input type="hidden" name="prodstuff[]" class="hiddenListInput5" /&gt;
                              &lt;/ol&gt;
                          &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;?php       
                          echo "&lt;/div&gt;";                      
                          }
                      ?&gt;
              &lt;/label&gt; 
  </code></pre>