private function writeFilename($filename, $data)
    {
        $f = fopen($filename, "w+");

        fwrite($f, implode('', $data));
        fclose($f);
    }
private function writeFilename($filename, $data)
    {
        $f = fopen($filename, "w+");

        fwrite($f, implode('', $data));
        fclose($f);
    }
private function writeFilename ( $ filename , $ data ) { $ f = fopen ( $ filename , "w+" ) ; fwrite ( $ f , implode ( '' , $ data ) ) ; fclose ( $ f ) ; }
Save an array of data to a filename

@param string $filename
@param array $data
Save an array of data to a filename