Advertisement:

Author Topic: Parse Error unexpected T_STRING  (Read 523 times)

Offline Texan78

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
    • WeatherConnectionForum on Facebook
    • @WxConnection on Twitter
    • Weather Connection
Parse Error unexpected T_STRING
« on: May 25, 2012, 10:04:22 PM »
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: [Select]
echo ', $txt['news'], ': <li>', $news, '</li>';
-Thanks

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,404
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Parse Error unexpected T_STRING
« Reply #1 on: May 25, 2012, 10:15:14 PM »
should be
Code: [Select]
echo  $txt['news'], ': <li>', $news, '</li>';
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store