CodeIgniter Views

KW

New Member
Ok I have adopted a CodeIgniter Setup, My route.php in config looks like this:\[code\]$route['default_controller'] = "development";\[/code\]My development.php controller looks like this:\[code\]class Development extends Controller{function Development() {parent::Controller();}public function Index() { $this->load->view('index');}function show() { $this->load->view('show');}}\[/code\]When I go to the root folder, in my browser, it does load the index.php view, I want to make a link to show.php which is also in my Views dir. the URL I'm using is eg: my.server/test/codeigniter/ but when I go to my.server/test/codeigniter/show my show.php doesn't load. Am I doing this correctly?I should mention I've tried public function show() also and it doesn't work, also I have no .htaccess file in the directoryAny advice would help!
 
Back
Top