ok seems to be working except one issue... damn array.. how do you pull the results from the array... it's listing them one i do a print_r but but will not output them to the. all i'm getting in the file is Array repeated on each line
Code:
$lookfor ="|<024version>(.*?)</024version>|Ui";
preg_match_all($lookfor,$html,$results);
print_r($results[1]);
$writecontent .= "$results[1]\n";
echo "$result[1]\n";
$fp = fopen($outputfile,"a");
fwrite($fp,$writecontent);
fclose($fp);