refiking Posted January 22, 2008 Share Posted January 22, 2008 Here is what the script returns: Parse error: parse error, unexpected '<' on line 27 Here are lines 26 - 28 IF ($video == ""){ $video = <object width="400" height="400"><param name="movie" value="http://www.youtube.com/v/r4ddiA26-6g&autoplay=1&rel=0&color1='red'&color2='red'"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/r4ddiA26-6g&autoplay=1&rel=0&color1='red'&color2='red'&border=1" type="application/x-shockwave-flash" wmode="transparent" width="200" height="200"></embed></object>"; } Quote Link to comment https://forums.phpfreaks.com/topic/87150-parse-error/ Share on other sites More sharing options...
revraz Posted January 22, 2008 Share Posted January 22, 2008 You need "quotes" around the entire string. Quote Link to comment https://forums.phpfreaks.com/topic/87150-parse-error/#findComment-445745 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.