[eluser]chotz[/eluser]
I am loading a model in the controller which run the query
and gives back the results to controller.
I am able to display the results in controller.
Then i am passing the $data to view page:
$this->load->view('/GameDev/newsad_view',$data);
but i am not able to display the results in the view page
I am using the following code:
<?php echo news_headln; ?>
('news_headln' is my table column stored in the $data array)
i also tried <?php echo $data['news_headln'];?>
I get the error Undefined variable $data.
Please help.
-Arun.