[eluser]abdel[/eluser]
I was able to fix the problem by changing my model's name. I had my controller, model and view as hello.php. I just renamed my model to Xyz_model and the file name to xyz_model.php and Called the model using
Code:
$this->load->('Xyz_model');
And everything started to work fine! Everybody thanks for your help in debugging it! In the end it was just a naming conflict!