Syntax error (echo if)

I have problems with a page that i have to modify but there are errors. System show me that one is on line 94. Someone can help me pls?

Which error are you getting? And please post code using the code tags in the forum instead of posting an image of the code.

If your php install use PHP < 5.4 this won’t work as you cant access arrays directly returned from a function like you do.

If your php linter/editor isn’t updated to PHP >= 5.4 it will false flag an error because of the same reason.

Either way it sounds like some part of your setup requires updating.

Sponsor our Newsletter | Privacy Policy | Terms of Service