1
How do I return an empty value in the command opendir($dir);
in php?
I would like that when there is no folder, return with zero value, because it is giving error:
readdir() expects Parameter 1 to be Resource, Boolean Given in
When there is no folder.