title: PHP fgetcsv() Tab Delimited Isn't working correctly
body: <p>I have a tab delimited txt file (ex. "US  California  LA")  that needs to be output word for word.  Could anyone help me figure out how to get it to break word for word??</p>
  
  <p>My code:</p>
  
  <pre><code>while(($row = fgetcsv($file,"\t")) !== false)
  {
      print($row[0]);
  }
  </code></pre>
  
  <p>Outputs:</p>
  
  <pre><code>Array
  (
      [0] =&gt; US  California  LA
  )
  </code></pre>
  
  <p>From my reading the <code>fgetcsv</code> should break each word after the delimiter, which it does do but only for COMMA separated entries looks like below.</p>
  
  <pre><code>Array
  (
      [0] =&gt; US
  )
  </code></pre>