global variable |
Hello ,
First thank you to all team worked in this fantastic framework, I have $password = array( 'cansave' => true, 'Algorithm' => 'abc' ); I want to access $password from many models I use modules\user I tried many ways to save it in new class , other ways , but I couldn't access it from usermodel that I have. I'm not professional developer , that is why help file not helping much , if possible step to access it will be nice. Thank you in advance.
Have a look at the Session library
https://codeigniter.com/user_guide/libra...sions.html
If it is configuration,
You can create a Config file: https://codeigniter4.github.io/CodeIgnit...tion-files And you can use it: https://codeigniter4.github.io/CodeIgnit...tion-files (01-20-2023, 06:11 PM)kenjis Wrote: If it is configuration, Thank you this worked |
Welcome Guest, Not a member yet? Register Sign In |