title: Convert and array into an ordered list of input fields
body: <p>I've got an array of sites like so...</p>
  
  <pre><code>$data = array(
  'http://site1.net/',
  'http://site2.net/',
  'http://site3.org/'
  );
  </code></pre>
  
  <p>And I'd like to create a script that iterates over the array and creates a list of input text fields containing each array element...</p>
  
  <pre><code>Example:
   1. [] http://site1.net/
   2. [] http://site2.net/
   3. [] http://site2.net/
  </code></pre>
  
  <p>Where [] represents the checkbox element and the URL is inside an input text field.</p>
  
  <pre><code>&lt;ol&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check1" /&gt;&lt;input type="text" id="text1" value="http://site1.net/" /&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check2" /&gt;&lt;input type="text" id="text2" value="http://site2.net/" /&gt;&lt;/li&gt;
   &lt;li&gt;&lt;input type="checkbox" id="check3" /&gt;&lt;input type="text" id="text3" value="http://site3.net/" /&gt;&lt;/li&gt;
  etc...
  </code></pre>