[eluser]jedd[/eluser]
[quote author="jof" date="1253298079"]Hi
How do I use the db->query inside a helper?
[/quote]
Anything is possible .. I think.
You almost definitely shouldn't be doing this, though, and it probably reflects a flaw in the design of your application. Try to relocate database queries into your model(s).
If you want to push ahead, read up on the [url="http://ellislab.com/codeigniter/user-guide/general/creating_libraries.html"]get_instance() function[/url].