title: Convert a string with multiple values and merge the data with same keys
body: <p>Below is the string that am getting by submitting a form.</p>
  
  <pre><code>qcl[]=25.17.74&amp;qcl[]=25.20.105&amp;qcr[]=24.01&amp;qcr[]=24.01
  </code></pre>
  
  <p>How do i convert the string to Array so that i get the array in the below format.</p>
  
  <pre><code>Array( [qcl] =&gt; 25.17.74 [qcl] =&gt; 25.20.105 ) and  Array( [qcr] =&gt; 24.01 [qcr] =&gt; 24.01 )
  </code></pre>
  
  <p>I tried exploding array with &amp; and then exploding by = but i eneded up with this array. </p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [0] =&gt; qcl[]
              [1] =&gt; 25.17.74
          )
  
      [1] =&gt; Array
          (
              [0] =&gt; qcl[]
              [1] =&gt; 25.20.105
          )
  
      [2] =&gt; Array
          (
              [0] =&gt; qcr[]
              [1] =&gt; 24.01
          )
  
      [3] =&gt; Array
          (
              [0] =&gt; qcr[]
              [1] =&gt; 24.02
          )
  
  )
  </code></pre>
  
  <p>Please help me further.</p>