Welcome Guest, Not a member yet? Register   Sign In
Two table query and then using the two arrays question
#6

[eluser]Mainboard[/eluser]
well, you can try with this

Model
Code:
function get_widgets_colours() {
     $q = $this->db->select('*')->from('widgets')->join('colour', 'widgets.id = colour.id') ;
      $ret['rows'] = $q->get()->result();
     return $ret;
    }


Messages In This Thread
Two table query and then using the two arrays question - by El Forum - 07-17-2011, 01:33 PM
Two table query and then using the two arrays question - by El Forum - 07-17-2011, 01:44 PM
Two table query and then using the two arrays question - by El Forum - 07-17-2011, 02:15 PM
Two table query and then using the two arrays question - by El Forum - 07-17-2011, 05:44 PM
Two table query and then using the two arrays question - by El Forum - 07-19-2011, 02:23 PM
Two table query and then using the two arrays question - by El Forum - 07-19-2011, 04:14 PM
Two table query and then using the two arrays question - by El Forum - 07-19-2011, 04:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB