Variable Problem
Posted: Wed Aug 06, 2003 2:10 am
I have some problems with variables. I have a class and then I have a language.php file and I include the class file and the language file in index.php file. Now I have this in language file:
and when I try to echo the $lang_time variable in the index file it works ok and I get "Time" as a result but when I try to echo it inside one of the class's functions I don't get nothing. How can I make it like it would work there too?
Code: Select all
$lang_time = 'Time';