[eluser]jedd[/eluser]
Hello alexduncan and welcome to the CI forums.
It sounds like you're trying to output stuff in your model - once you stop doing that, life becomes easier (well, you tend to stop getting headers already sent errors).
Can I suggest you
post your code, so that the cognoscenti around here can cast judgement ^H^H^H^H... give some advice on your functions and approach.