• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anchor controller issue

i am still a bit new to code ignitor but i managed to successfully use most functions i need of it.
now how ever i have a problem with in my anchor command.
<?php echo anchor('gallery/index', 'Gallery'); ?>
this piece of code is located in another controller 'welcome' and i want it to point at the Gallery controller by use of an anchor. this how ever does not work, i get an 404. once i replace the code with
<?php echo anchor('welcome/index', 'Gallery'); ?>
so that it uses the same controller it does load the view file but somehow the view file does not load the CSS that i use.

can someone help me, since i have no idea how to solve this problem myself.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.