[eluser]SpooF[/eluser]
Are you running two separate installations of Codeigniter? Everyonce in a while you post a url with
gifts and then other times its
codeigniter. I would suggest just working on a single project at a time. That way your not working with two different code bases. It will make it a lot easier to not make small mistakes. Also you might fix something in one setup, but not the other and get frustrated when something doesn't work.
One reason why I say this is in the code you supplied you had the colon after the foreach statement.