Welcome Guest, Not a member yet? Register   Sign In
Why Does My Query Not Work ?
#4

[eluser]Pert[/eluser]
It's because select only takes 1 attribute:

Code:
$this->db->select('uri','id','title');
// correct
$this->db->select('uri, id, title');

If you add second attribute to select method, it should be boolean, if set to false CI won't try to add quotes around your table and column names.


Messages In This Thread
Why Does My Query Not Work ? - by El Forum - 06-14-2013, 02:28 PM
Why Does My Query Not Work ? - by El Forum - 06-14-2013, 04:23 PM
Why Does My Query Not Work ? - by El Forum - 06-14-2013, 04:43 PM
Why Does My Query Not Work ? - by El Forum - 06-15-2013, 02:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB