title: Codeigniter Table Generation With links
body: <p>I have data coming from my model into this Controller</p>
  
  <pre><code>function index() {
      $this-&gt;load-&gt;model('work_m');
      $data = array();        
      $config['base_url'] = base_url().'index.php/work/index/';
      $config['total_rows'] = $this-&gt;db-&gt;count_all('work');
      $config['per_page'] = '10';
      $config['full_tag_open'] = '&lt;p&gt;';
      $config['full_tag_close'] = '&lt;/p&gt;';
      $this-&gt;pagination-&gt;initialize($config);
      $data['result'] = $this-&gt;work_m-&gt;get_records($config['per_page'],$this-&gt;uri-&gt;segment(3));           
      $data['title'] = 'Page Display';
      $data['content'] = 'todo/work_display';
      $this-&gt;load-&gt;view('template3', $data);
  }
  </code></pre>
  
  <p>I need to create a table (using the HTML Table Class) with the following links in the cells (this is done by hand the old way and is in my view):</p>
  
  <pre><code>&lt;td width="8%"&gt;&lt;?php echo anchor("work/fill_form/$row-&gt;id", $row-&gt;id);?&gt;&lt;/td&gt;
  &lt;td width="10%"&gt;&lt;?php echo $row-&gt;date; ?&gt;&lt;/td&gt;
  &lt;td width="20%"&gt;&lt;?php echo $row-&gt;title; ?&gt;&lt;/td&gt;
  &lt;td width="47%"&gt;&lt;?php echo $row-&gt;item = $this-&gt;typography-&gt;auto_typography($row-&gt;item); 
  </code></pre>
  
  <p>How can I convert the data back in the controller to be able to use the table generate method?  Using the "usual" php method creates a horrible table.</p>