I have a constant
SITETHEME
define ('SITETHEME', $row['theme']);
I have a class and I need to access the constant within it, how do I do this instead of having to declare it again?
(Please be aware this is just for demonstration purposes)
You just use it as SITETHEME.
I know that but it didn't work and that is why I asked here.
Anyway I found out what the issue was and it was something silly I forgot to do in regards to a mysql class and function I had written some time earlier in the week.