Hi,
I have the following problem,
I have a file constants.php. This file contains a couple of lines like for instance:
$var1 = "username";
$var2 = "password";
I have a class with SQL stuff in it.
In the class I have functions which use $var1 and $var2 but for some reason both these variables are empty.
I need help on how to make these variables seen inside the class without defining them inside the class.
I have tried global $var1="username"; but this didn“t help.
Thanks,
Volumeregeling