Posted By

mattstopa on 02/08/10


Tagged


Versions (?)

Code Igniter Select Statement


 / Published in: PHP
 

  1. $this->db->select('title, content, date');
  2.  
  3. $query = $this->db->get('mytable');
  4.  
  5. // Produces: SELECT title, content, date FROM mytable

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: mattstopa on February 8, 2010

http://codeigniter.com/userguide/database/activerecord.html

You need to login to post a comment.