title: PHP simple Excel lib
body: <p>I'm looking for a way to do the following:</p>
  
  <pre><code>$file = 'file.xls';
  $input = '&lt;tr&gt;&lt;td&gt;Some input&lt;/td&gt;&lt;/tr&gt;';
  
  if (!file_exists($file))
  {
       create_excel($file);  //Create the sheet
       input_titles($file);  //Add column titles
  }
  else
  {
       add_input_to_the_last_line($input);
  }
  </code></pre>
  
  <p>Is there a library which can simply do the above?</p>