title: merge two file text with php
body: <p>I have two text files I have created this way:</p>
  
  <pre><code>&lt;?php
  $lines = file('Country.txt');
  $newf = array();
  foreach ($lines as $line)
    $newf[] = substr($line, 2);
  file_put_contents('country2.txt', implode("\n", $newf));
  
  
  $lines2 = file('countryenglish.txt');
  $newf2 = array();
  foreach ($lines2 as $line)
    $newf2[] = substr($line, 3);
  file_put_contents('countryenglish2.txt', implode("\n", $newf2));
  
  ?&gt;
  </code></pre>
  
  <p>Both display data like this:</p>
  
  <pre><code>Country2.txt: 
  Text1Data1
  text1Data2
  text1Data3
  &gt; 
  countryenglish2.txt 
  Text2Data1
  text2Data2
  text2Data3
  </code></pre>
  
  <p>I would like to display:</p>
  
  <pre><code>Text2Data1Text1Data1 
  text2Data2text1Data2
  text2Data3text1Data3
  </code></pre>
  
  <p>Thanks in advance for your help!</p>