Forum Moderators: coopster
I am trying to build a table dynamically from a list of files in a directory and my script isn't working. The worst part is that I just get a blank page, no source, no error message, etc. If I had an error message I could probably figure it out, what's going on, is this normal?
Is there a way to turn on error messages?
error_reporting(E_ALL);
You'll find some really useful info over here too [webmasterworld.com].
i guess 2nd part: you script is in a loop and that's why it does not return anything because it's still running. what kind of os you're using? *nix based or win?
It could be that it is a loop problem. I just finished a cleaner script that should solve the problem, I'll give it a try. If that doesn't work I'll post some code.
All I'm trying to do is get the names of directories in a certain directory, and use those names to create links to the content within them. (a dynamic image gallery type thing)
I always approach these the same way, line by line.
Take a look at your logic, start at the beginning and step through it line by line, include by include using echo's and such to see how far the script gets, then let it go a little farther if you dont see any problems.
Eventually you will be able to isolate the error and start fixing it.