Welcome Guest, Not a member yet? Register   Sign In
Question about controller[SOLVED]
#1

[eluser]Hitesh Chavda[/eluser]
Hi

I have little question about controller in CI

I have function some like below in main controller
Code:
function check_user_name()
{

     //code

}

now when i type http://localhost/check_user_name/ it execute, I know the work of controller but how to block only that function to behave only like function rather than url.

I know this type of functions should actually write in Models but now I can't move it.


Messages In This Thread
Question about controller[SOLVED] - by El Forum - 09-05-2009, 01:29 AM
Question about controller[SOLVED] - by El Forum - 09-05-2009, 01:46 AM
Question about controller[SOLVED] - by El Forum - 09-05-2009, 01:52 AM
Question about controller[SOLVED] - by El Forum - 09-05-2009, 03:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB