title: PHP match two values from two different arrays in random shuffle function
body: <p>I have two arrays in PHP. One is a list of numbers that I generate between 1 and 24 and shuffle them using PHP (see below).</p>
  
  <pre><code>$numbers = range(1, 24);
          shuffle($numbers);
          foreach ($numbers as $number) {
                  echo "&lt;h5&gt;$number&lt;/h5&gt;";
          }
  </code></pre>
  
  <p>Every time I load the page this gives me a list of numbers randomly shuffled each time. </p>
  
  <p>I have another array with 24 URLs</p>
  
  <pre><code>$links = array(         "http://www.linkone.co.uk",
                          "http://www.linktwo.co.uk",
                          "http://etc.co.uk"
                          ); .....
  </code></pre>
  
  <p>Is there a way I can assign say number 15 to URL number 15 no matter where it is generated in the list?</p>