• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dashboard navigation problem

#3
I've shown you several times that CI has a helper function called anchor().

Instead of:
PHP Code:
<a href="<?php echo base_url(); ?>users/dashboard"><?php echo $this->session->userdata('username'); ?></a> 

Do this:
PHP Code:
<?= anchor('users/dashboard'$this->session->username);?>
Reply


Messages In This Thread
Dashboard navigation problem - by kvanaraj - 09-18-2018, 06:13 AM
RE: Dashboard navigation problem - by Pertti - 09-18-2018, 06:23 AM
RE: Dashboard navigation problem - by Wouter60 - 09-18-2018, 10:02 AM
RE: Dashboard navigation problem - by kvanaraj - 09-19-2018, 06:12 AM
RE: Dashboard navigation problem - by Wouter60 - 09-19-2018, 07:37 AM
RE: Dashboard navigation problem - by kvanaraj - 09-19-2018, 09:28 PM
RE: Dashboard navigation problem - by InsiteFX - 09-20-2018, 03:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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