Find path dir from mysql in php
<p>I currently saving all my file paths in the database like this</p>

<pre><code> ID   |      file_path
 ------------------------------------------------------------
  1         home/games/ps3/cod.png
  2         home/err.png
  3         home/games/ps3logo.png
  4         home/games/xboxlogo.png
  5         home/games/pclogo.png
  6         home/games/wiilogo.png
  7         home/msg.png 
</code></pre>

<p>I am trying to use php to search all the files and get the files from the dir you selected</p>

<pre><code>$folder_path = "home/games/ps3";
</code></pre>

<p>I only want to show all the images in the ps3 folder?</p>
