sql shorthand not working for me |
[eluser]guillermo, out of repose[/eluser]
Haven't tried this, but give it a shot and see what happens. More on the second parameter of the $this->db->select() can be found in the user guide: [pre] function get_product_by_id($id) { $this->db->select('product.*', false)->from('product')->where('product.id', $id); $query = $this->db->get(); return $query->result(); } [/pre] |
Messages In This Thread |
sql shorthand not working for me - by El Forum - 09-23-2009, 12:53 PM
sql shorthand not working for me - by El Forum - 09-23-2009, 01:28 PM
sql shorthand not working for me - by El Forum - 09-23-2009, 01:30 PM
sql shorthand not working for me - by El Forum - 09-23-2009, 01:36 PM
sql shorthand not working for me - by El Forum - 09-23-2009, 02:44 PM
|