PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
feyd and Lord Sauron
The fact that it doesnt return anything is my problem. try this: remove the two slashes (//) from the following line and try it again.
I don't need to test run the function, it's not returning anything, either through the normal return, or through the variable you pass, or through a global.. so the data created/found inside that function never leaves it. i.e. $mydirList is only local to the function.. adding "return $mydirList;" to the end of the function, and capturing it with "$dirlist = Test('images/');" should make it work... provided there isn't a syntax error..