Welcome Guest, Not a member yet? Register   Sign In
overlapping variables

I have page of edit dashboard/cat_edit/5(id of category)
And on the same page I have a list paginated dashboard/cat_edit/1(page of list)
$config['base_url'] = 'http://localhost/CodeIgniter/dashboard/cat_edit/';

Example i go edit cat 5 dashboard/cat_edit/5 lead me on page 5
but if I go to page 10 lead me edit cat 10.

work but give the same value to both
how do I solve?

[eluser]Cristian Gilè[/eluser]
Your post is a bit confused. Try to fix the base_url setting:

$config['base_url'] = 'http://localhost/CodeIgniter/';

simple solution will be to dived your listing and editing methods.



Theme © iAndrew 2016 - Forum software by © MyBB