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