[eluser]haris244808[/eluser]
[quote author="TheFuzzy0ne" date="1362938399"]In your controller, insert the line $this->output->enable_profiler(TRUE), and you'll be able to see exactly what queries are being fired at the server.
[/quote]
thank you man i am learning new things from you...
from profiler i says :
SELECT * FROM files WHERE user_id = 0
which means that it didnt get the ID from the session :S