How to convert a text list into a PHP associative array with key=value?
<p>I have a list in a text file:</p>

<pre><code> Alabama    
 Alaska     
 Alberta    
 ...
</code></pre>

<p>and I would like to have a PHP array like that :</p>

<pre><code> array('Alabama' =&gt; 'Alabama', 'Alaska' =&gt; 'Alaska', ...)
</code></pre>

<p>How could I have this array ? (I am a beginner in PHP and in computing in general).
Thanks a lot</p>
