MDanz Posted July 16, 2010 Share Posted July 16, 2010 Parse error: syntax error, unexpected '/', expecting T_STRING or T_VARIABLE or T_NUM_STRING in ... it's because of this. echo SmartCensor("$validcomment"); } else { echo "[img=$validcomment]"; } but i need the img tags... any idea how to solve this... i need the img tags though. Link to comment https://forums.phpfreaks.com/topic/207924-parse-error-help/ Share on other sites More sharing options...
Mchl Posted July 16, 2010 Share Posted July 16, 2010 To little code. Looks like this is part of an if() block. Most likely you have a missing " somewhere. [edit] Try like this: echo "[img={$validcomment}]"; Link to comment https://forums.phpfreaks.com/topic/207924-parse-error-help/#findComment-1086958 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.