Hello !
This is my folder tree
MAIN_FOLDER
.......file1.txt
.......file2.txt
.......file3.html
...SUBFODER_1
.......file1.txt
.......file2.html
...SUBFODER_2
.......file1.txt
.......file2.html
...SUBFODER_3
.......file1.txt
.......file2.html
Please help me to write the PHP code can count total of files (txt + html) wwhich were stored inside MAIN_FOLDER
Thanks for your help