[eluser]the_unforgiven[/eluser]
Its ok, I have sorted it by looking back over my code as you suggested, change the model to only hav the database queries in and everything is now in the contoller, just having a problem with the query now,
Message: Trying to get property of non-object
So i'll work that out thanks again dude, made me realise I'd done something wrong, much appreciate your help.