title: phpexel and codeigniter getting error
body: <p>I get everything as described on this link: <a href="http://www.ahowto.net/php/easily-integrateload-phpexcel-into-codeigniter-framework" rel="nofollow">http://www.ahowto.net/php/easily-integrateload-phpexcel-into-codeigniter-framework</a>, 
  but I got this in my excel file (I used example from site where is tutorial):
  <a href="http://img11.imageshack.us/img11/7017/errorfzh.jpg" rel="nofollow">http://img11.imageshack.us/img11/7017/errorfzh.jpg</a></p>
  
  <p>And my controller:</p>
  
  <pre><code>    class Mail extends CI_Controller {
      public function __construct(){
          parent::__construct();
          $this-&gt;load-&gt;library(array('form_validation', 'excel'));
          //activate worksheet number 1
          $this-&gt;excel-&gt;setActiveSheetIndex(0);
          //name the worksheet
          $this-&gt;excel-&gt;getActiveSheet()-&gt;setTitle('test worksheet');
          //set cell A1 content with some text
          $this-&gt;excel-&gt;getActiveSheet()-&gt;setCellValue('A1', 'This is just some text value');
          //change the font size
          $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('A1')-&gt;getFont()-&gt;setSize(20);
          //make the font become bold
          $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('A1')-&gt;getFont()-&gt;setBold(true);
          //merge cell A1 until D1
          $this-&gt;excel-&gt;getActiveSheet()-&gt;mergeCells('A1:D1');
          //set aligment to center for that merged cell (A1 to D1)
          $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('A1')-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
  
          $filename='just_some_random_name.xls'; //save our workbook as this file name
          header('Content-Type: application/vnd.ms-excel'); //mime type
          header('Content-Disposition: attachment;filename="'.$filename.'"'); //tell browser what's the file name
          header('Cache-Control: max-age=0'); //no cache
  
          //save it to Excel5 format (excel 2003 .XLS file), change this to 'Excel2007' (and adjust the filename extension, also the header mime type)
          //if you want to save it as .XLSX Excel 2007 format
          $objWriter = PHPExcel_IOFactory::createWriter($this-&gt;excel, 'Excel5');  
          //force user to download the Excel file without writing it to server's HD
          $objWriter-&gt;save('php://output');
      }
  }
  </code></pre>
  
  <p>Thanks.</p>