title: PHP fputcsv showing long integers in excel as scientific notation
body: <p>I have a simple script that outputs data from my database to a CSV file.</p>
  
  <p>My problem is that when I export mobile numbers, excel sees them as long integers and displays them in scientific notation. </p>
  
  <p>If I go to format cells and change it to a number they all display fine.</p>
  
  <p>Is there a way to set the column as a integer without changing it in excel.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>header('Content-Type: text/csv; charset=utf-8');
  header('Content-Disposition: attachment; filename=data.csv');
  
  
  $output = fopen('php://output', 'w');
  
  
  fputcsv($output, array('Book Reference','Company','Type','Site Name', 'Date', 'Time', 'Name', 'Email', 'Mobile', 'Team ID'));
  </code></pre>
  
  <p>Below is the code that sits inside my while loop</p>
  
  <pre><code>// THIS IS WHERE I SET VARIABLES
  
  fputcsv($output, array($booking_reference,$company,$type,$site_name,$date,$time,$name,$email,$mobile,$team_id));
  </code></pre>