Global Variable |
Hi,
Is there any way to create global variable in CI which can be accessed from any of the Model or Controller .(Note Variable is not Static) Thank you. Prateek Sinha
You can set and get a Config file.
https://www.codeigniter.com/user_guide/l...onfig.html
You can also find some informative information about global variable on StackOverflow https://stackoverflow.com/questions/1701...le_rich_qa
|
Welcome Guest, Not a member yet? Register Sign In |