CI 1.7: $db->get() and Join |
[eluser]Unknown[/eluser]
As like as this post: http://ellislab.com/forums/viewthread/95148/ My code is Code: $this->db->select('user_detail.*, industries.name industry_name'); But I get error because the translated sql is listed below: Quote:SELECT user_detail.*, industries.name industry_nameLook the line 2, there are two same table name split by comma. The comma is redundant. |
Messages In This Thread |
CI 1.7: $db->get() and Join - by El Forum - 10-31-2008, 04:24 AM
CI 1.7: $db->get() and Join - by El Forum - 10-31-2008, 05:29 AM
CI 1.7: $db->get() and Join - by El Forum - 11-02-2008, 07:17 PM
|