title: How to write an PHP array into xls file?
body: <p>My data looks like this (After clicking View Page Source),</p>
  
  <pre><code>date \t new_users \t cpm \t earnings \t total_pushes \t avail_users \t application \t 
   2011-03-31  \t  336933  \t  $5.27  \t  $10151.2  \t  1925244  \t  1905744  \t  Play Movies  \t 
   2011-03-31  \t  205070  \t  $5.12  \t  $5810.26  \t  1134946  \t  1118354  \t  Watch Movies or TV Shows  \t 
  </code></pre>
  
  <p>I imploding given array with '\t' and then dynamically writing into xls file .Problem with this is all of the contents are present only in the first column of the xls file .</p>
  
  <p>What am i missing in the code,does xls file requires data format ?</p>