The code i wrote is as follows:
Code: Select all
$File = "MyOutput.txt";
$Handle = fopen($File, "a");
$customer = "DevNetwork";
fwrite($Handle, var_export($Data,1)) & fwrite($Handle, var_export($customer,1));
// $Data is used in Preg_match_all
Code: Select all
array ( 0 => array ( 0 => '', ), 1 => array ( 0 => '43, North Tower, NY', ), )'DevNetwork'Code: Select all
DevNetwork 43, North Tower, NY