Php code won't work in views (solved) |
[eluser]Unknown[/eluser]
Hello, I'm new here and new to CI. I tried following some basic tutorials. But those codes won't work for me. First, I changed default_controller from 'welcome' to 'toppage'. Code: $route['default_controller'] = 'toppage'; I created toppage.php in controllers Code: <?php Then created toppage_view.php in folder 'views' Code: <html> These code didn't work at all. Here is the output. v [Image: http://img28.imageshack.us/img28/9020/catscim.jpg] I really don't know why it won't work. T_T Any help appriciated. Thanks in Advance : ) |
Welcome Guest, Not a member yet? Register Sign In |