Welcome Guest, Not a member yet? Register   Sign In
Basic controller method not working!!?
#1

[eluser]behnampmdg3[/eluser]
Hi;

localhost/secure/results/ shows a list of products:
Code:
class Results extends CI_Controller {

public function index($record_starts=0)
  {
   $data = array('title'=>'Mysql Php MVC, the right way', 'header'=>'Search for a product');
   $this->load->model('model_products');
   $data['results'] = $this->model_products->results_products($this->session->userdata('search_data'), $record_starts);
   $this->load->view('results',$data);
   $this->output->enable_profiler(TRUE);
  }

}

Why do I get 404 from localhost/secure/results/12502Thanks


Messages In This Thread
Basic controller method not working!!? - by El Forum - 05-20-2013, 04:59 PM
Basic controller method not working!!? - by El Forum - 05-21-2013, 11:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB