News Section data not showing | database connection |
[eluser]Unknown[/eluser]
Hi , I'm new to the CI and currently following the user guide . followed the static page create section and now when i followed this : Code: https://ellislab.com/codeigniter/user-guide/tutorial/news_section.html it's appeared nothing in Quote:http://localhost/CodeIgniter_2.2.0/index.php/news These are the pages : news_model.php locate in \Application\model Code: <?php in controllers : news.php Code: <?php in config\routes.php Code: $route['default_controller'] = "welcome"; also i set the autoload.php to Code: $autoload['libraries'] = array('database'); using XAMPP - phpmyadmin and database created with given query . config\database.php Code: $active_group = 'default'; glad if anyone can help with this PS : followed Create News :https://ellislab.com/codeigniter/user-guide/tutorial/create_news_items.html and it's successfully done
[eluser]InsiteFX[/eluser]
It is because you are not following the instructions! Code: public function index() Read the User Guide again all the way and you will see.
[eluser]Unknown[/eluser]
[quote author="InsiteFX" date="1408625778"]It is because you are not following the instructions! Code: public function index() Read the User Guide again all the way and you will see. [/quote] Thanks found it i |
Welcome Guest, Not a member yet? Register Sign In |