Code Igniter Select Statement


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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

You need to login to post a comment.