Customizing SMF > SMF Coding Discussion

Parse Error unexpected T_STRING

(1/1)

Texan78:
Hello, can someone give me a some assistance. I have been trying to debug this for hours and I can't see anything wrong with it but it keeps throwing errors. I have to be missing something but I can't see what. Maybe I just need some fresh eyes.


--- Code: ---echo ', $txt['news'], ': <li>', $news, '</li>';
--- End code ---

-Thanks

vbgamer45:
should be

--- Code: ---echo  $txt['news'], ': <li>', $news, '</li>';

--- End code ---

Navigation

[0] Message Index

Go to full version