title: we are getting .txt file but not getting proper alignment
body: <p><a href="http://eminosoft.com/test/texfile_screenshot1.JPG" rel="nofollow noreferrer">we are getting the following texfile_screenshot1.JPG when we are exporting data to .txt file</a></p>
  
  <p><a href="http://eminosoft.com/test/texfile_screenshot2.JPG" rel="nofollow noreferrer">we need  output which is shown in  texfile_screenshot2.JPG</a></p>
  
  <p>following is the code</p>
  
  <pre><code>$myFile = "user_password.txt";
       $fh = fopen($myFile, 'a') or die("can't open file");
       $newline ="\r\n";
       fwrite ($fh,$newline);
  
        $stringData1 = $_POST['uname1']." "." "." " ;
        fwrite($fh, $stringData1);
  
        $stringData1 =$_POST['password1']." "." "." ";
        fwrite($fh,$stringData1);
  
    $stringData1 = $_POST['email1']." "." "." ";
        fwrite($fh, $stringData1);
  
   fclose($fh);
  </code></pre>