Welcome Guest, Not a member yet? Register   Sign In
help with query
#3

[eluser]Fenix[/eluser]
so if my model is like this:
Code:
function get_assets()
    {
        $this->db->select('*');
        $Q = $this->db->get('assets');
        $Q->free_result();
        return $Q;
    }

how would i pass it from my controller to my view and how would i iterate through it to put each record into a table? an example would help a lot, thanks.


Messages In This Thread
help with query - by El Forum - 10-27-2008, 09:29 AM
help with query - by El Forum - 10-27-2008, 09:39 AM
help with query - by El Forum - 10-27-2008, 09:48 AM
help with query - by El Forum - 10-27-2008, 09:55 AM
help with query - by El Forum - 10-27-2008, 09:57 AM
help with query - by El Forum - 10-27-2008, 10:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB