• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
overlapping variables

#1
[eluser]Gabi3xz[/eluser]
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?

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

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

#3
[eluser]weboap[/eluser]
simple solution will be to dived your listing and editing methods.

dashboard/cat_list/1

dashboard/cat_edit/1


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.