Welcome Guest, Not a member yet? Register   Sign In
[solved] help with syntax for result set
#2

[eluser]iainco[/eluser]
Model:
Code:
function get_nextprev($album, $id) {
    $album_t = $this->app->config->item('gallery_table','simple_gallery');
        $query = "<omitted>";
        return $this->db->query($query)->result();
    }

View:
Code:
foreach($nextprev as $item):
        echo $item->title;
endforeach;


Messages In This Thread
[solved] help with syntax for result set - by El Forum - 11-25-2008, 04:07 PM
[solved] help with syntax for result set - by El Forum - 11-25-2008, 04:40 PM
[solved] help with syntax for result set - by El Forum - 11-26-2008, 09:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB