[eluser]FlyingCat[/eluser]
[quote author="Bhashkar" date="1327718355"]yes, in the same way ... a little change
Code:
$this->model->model_method($segment1);
now you can access segment into model_method of model and also $segment1.
[/quote]
I have the same thing you have. $this->model->query($segment1)
The 'query' is my model method. I thought people usually check the security before sending the segment to the Model? I just don't know what's the best practice in CI