Welcome Guest, Not a member yet? Register   Sign In
Where to declare global variables?
#1

[eluser]Mikkel Juhl[/eluser]
Hey CodeIgniters!

I just tried the CodeIgniter framework, and I'd say.. I am impressed. It's lightness, and easiness.. Only after a couple of hours, I really feel that this definitely has a future in my coding..

Anyway, I am looking for a place where I can decare global variables.. The variable I need to declare is the name of my site? How would you declare that, so I can use it everywhere in my code, without using the: $data['title']="sitetitle"; in every single function?

Cheers! Big Grin


Messages In This Thread
Where to declare global variables? - by El Forum - 05-14-2010, 01:52 PM
Where to declare global variables? - by El Forum - 05-14-2010, 02:23 PM
Where to declare global variables? - by El Forum - 05-14-2010, 02:25 PM
Where to declare global variables? - by El Forum - 05-14-2010, 02:27 PM
Where to declare global variables? - by El Forum - 05-14-2010, 02:34 PM
Where to declare global variables? - by El Forum - 05-14-2010, 02:45 PM
Where to declare global variables? - by El Forum - 05-14-2010, 03:23 PM
Where to declare global variables? - by El Forum - 05-14-2010, 07:52 PM
Where to declare global variables? - by El Forum - 11-16-2010, 10:16 AM
Where to declare global variables? - by El Forum - 11-17-2010, 04:38 AM
Where to declare global variables? - by El Forum - 11-17-2010, 03:23 PM
Where to declare global variables? - by El Forum - 01-16-2011, 11:39 AM
Where to declare global variables? - by El Forum - 01-18-2011, 09:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB