title: Convert Comma Delimited To Tab Delimited Using PHP
body: <p>I'm trying to upload a file to Amazon MWS. I get an inventory file in .csv format like this:</p>
  
  <p><strong>feed.csv</strong></p>
  
  <pre><code>sku,qty
  ABC,5
  HHA,8
  </code></pre>
  
  <p>How can I convert this to tab delimited when I read it in like this:</p>
  
  <pre><code>$file = file_get_contents('feed.csv', 'r') or die("cant open file");
  
  echo($file);
  </code></pre>