[eluser]bretticus[/eluser]
[quote author="pianoman993" date="1237269032"]I tried your method out and it filled in a 1 for every user_id in the image_info table... which is not supposed to happen.[/quote]
It all depends on your specific database, version and capabilities. I don't have the luxury of playing around with your database. Thus, my examples are just examples. It's up to you to tweak them.
[quote author="pianoman993" date="1237269032"]
I would like to stick with codeIgniter's approach to DB active records and I still can't figure out why this doesn't work
[/quote]
You can do this with CI, that's your decision, but I still believe your code doesn't work because this isn't the way AR is supposed to work. You could try using result_array() to loop through the resulting array instead of calling result() from the db object.