MySQL into PHP Array
<p>How do I turn my MySQL fetch into this formatted array:</p>

<pre><code>$files = array(
  'preload-images/1.jpg',
  'preload-images/2.jpg',
  'preload-images/5.jpg',
  'reddit.gif'
);
</code></pre>

<p><strong>Fetch:</strong></p>

<pre><code>$spdi = mysql_query("
SELECT * FROM `wedding_photos` 
WHERE `user_hash` = '$logged[ip]'
ORDER BY `id` DESC
LIMIT 0, 1000") or die(mysql_error()); $spd = mysql_fetch_array($spdi);
</code></pre>

<p>Any help would be appreciated,</p>

<p>Thanks!</p>
