sql shorthand not working for me |
[eluser]battlemidget[/eluser]
[quote author="guillermo, out of repose" date="1253752582"]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][/quote] This works! Thanks for the quick response! -adam |
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
|