[eluser]Zeeshan Rasool[/eluser]
[quote author="n0xie" date="1268752620"]Usually helpers are used in the view to format and output a particular datablock. If you need database logic I would recommend either moving your code to a library, model or making it part of of one of your base controllers.[/quote]
Yeah, absolutely right suggestion.