Forgive me if I slip up ... this line from the code example below:
$result_array =a rray();
There should be no space in the word array(); Should look like this:
$result_array = array();
** sorry about that !!
Some other fixes too here's the code again:
funct
I suggest checking the php.net site for doing this. You can use their search
box to search on particular subjects of PHP. For example, what you want to
do involves files and directories. YOu want to read from a directory and
list the files. So, on php.net, in the search box, you can type: dir and