hello,
i have some files that are save like .html or .html.txt
I will be opening these files and i only want to open files that end in .html
i tried this but was unsuceesful.
$testadata1 = ".html.txt";
$test1 = explode(".",$testdata1);
echo $test1;
//output: html
I know there is a better way to do this.
thanks.