0

Stupid constant in class declaration issue

One of our live servers is still on php 5.3
and is breaking on the second line with this message
Parse error: syntax error, unexpected '.', expecting ')' in .......
systemAdministrator is a defined constant that i can echo out with no problem before this
any help would be appreciated

$errors = array(
    1 => array('code' => 1, 'mesg' => 'Error connecting to server: Please contact your <a href="mailto:' . systemAdministrator . '">System Administrator</a>'),
    .......,
    .......,
);

Edited by jstfsklh211

2
Contributors
1
Reply
12
Views
2 Years
Discussion Span
Last Post by diafol
0

So you've narrowed it down to this constant? If you take out:

' . systemAdministrator . '

you don't get an error. Is that right? I have my doubts. Sounds as if you have an error upstream.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.