Hi guys,
I have defined a variable in a separate config file:
define('URL', 'someurl.co.uk');
However, when I try to use it to concat with a string inside a class:
class AdminEmail extends Email {
private $from = "jsmith".URL;
I get the following error:
Parse error: parse error, expecting `','' or `';''
But if I echo it out, it displays perfectly!
Hope I haven't missed anything obvious here!
Many thanks