title: how to replace value of one array to key of another array?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4680188/php-values-of-one-array-to-key-of-another-array">php values of one array to key of another array</a>  </p>
  </blockquote>
  
  
  
  <p>i have given two array here.</p>
  
  <pre><code>Array-1
          (
              [0] =&gt; 6
              [1] =&gt; 11
              [2] =&gt; 13
          )
  
          Array-2
          (
              [0] =&gt; 13.339066309
              [1] =&gt; 0
              [2] =&gt; 100
          )
  </code></pre>
  
  <p>I want to replace value of one array to key of another array. something like this:</p>
  
  <pre><code>Array
      (
          [6] =&gt; 13.339066309
          [11] =&gt; 0
          [13] =&gt; 100
      )
  </code></pre>