Welcome Guest, Not a member yet? Register   Sign In
How to make variables global ? i.e acessing a variable from model and controllers.

I had been working on this framework since last one week.I am working on Email Confirmation functionality.My Problem is that i am creating a random string in controller and trying to use the same same string in the model.But this randomly created string(in main controller) is not accessible in the model page.
I am getting an error Undefined variable confirmation_code.

Can any one help me with this minor issue.??

Theme © iAndrew 2016 - Forum software by © MyBB