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

#11
[eluser]CodeIgniteMe[/eluser]
You also need a controller "user" where the function "profile" belongs
Code:
// User class
class User extends CI_Controller{
// profile function
function profile($id){
// display id value
echo $id;
}
}


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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