title: how to set custom column name csv_from_result in codeigniter
body: <p>I'm using <code>csv_from_result</code> helper function in codeigniter.
  It gives database table name as column names in csv file.</p>
  
  <p>How can i set custom column names in csv file.</p>
  
  <p>Ex: my table contains fields like <code>number, name</code>
  I want these fields in csv as <code>Course number, Course name</code></p>
  
  <p>Following way works fine</p>
  
  <pre><code>SELECT number as course_number, name as course_name from courses;
  </code></pre>
  
  <p>Is there any better way?</p>