Welcome Guest, Not a member yet? Register   Sign In
parameters in controller class
#1

[eluser]Ryan Zec[/eluser]
in the blog tutorial you get the variables from the url with the url helper. is there a way to do this:

public function login($username, $password)
{
//login logic
}

I was wondering if i can give the function parameters and codeigniter automatically assign the variables as there are in position in the url, can it?


Messages In This Thread
parameters in controller class - by El Forum - 01-09-2008, 05:12 PM
parameters in controller class - by El Forum - 01-09-2008, 06:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB