• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
want to create a url like http://www.example.com/uername

#10
[eluser]InsiteFX[/eluser]
Code:
$route['*(:any)'] = 'user/profile/$1';

// May need to change the first number.
$profie = $this->uri->segment(1, 0);


Messages In This Thread
want to create a url like http://www.example.com/uername - by El Forum - 06-20-2012, 10:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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