Welcome Guest, Not a member yet? Register   Sign In
How do I make a database row be a global?
#10

I've done the instructions you said. When I use print_r($me); in MY_Controller.php which extends CI_Controller, I can see the $me variable on the screen. However the $me variable isn't passed to all the controllers such as Admin.php "class Admin extends MY_Controller". When I echo or use $me on Admin.php controller I get an error saying $me is undefined.
Reply


Messages In This Thread
RE: How do I make a database row be a global? - by desbest - 06-27-2017, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB