i have built application using codeigniter,
my controller name is userReg, in controller i declared class like this,
class UserReg extends CI_Controller { }
when i link this controller i used, <a href="<?php echo base_url();?>userReg">Register</a>
it works fine in localhost, but when i put online, it’s generate page not found error,
i have tried also <a href="<?php echo base_url();?>userreg">Register</a>, but doesn’t work.
so is there any solution?
According to the style guide, you shouldn’t use CamelCase by the way:
http://codeigniter.com/user_guide/general/styleguide.html#class_and_method_naming