3 function getContent($files){
6 $homepage = file_get_contents($files);
7 $test = explode(PHP_EOL
, $homepage);
8 foreach($test as $value){
10 $valueTest = preg_replace('/\<[a-z]*>/', '', $value);
11 $trim = preg_replace('/\<\/[a-z]*>/', '|', $valueTest);
12 $valueTest1[] = rtrim($trim, '|');
15 // print_r($valueTest1);
18 function passContent($array){
20 foreach ($array as $formidable) {
22 $fetch[] = explode('|', $formidable);
25 // print_r($array)."<br>";