jdock1 Posted June 28, 2010 Share Posted June 28, 2010 Error: Parse error: parse error, expecting `T_PAAMAYIM_NEKUDOTAYIM' in C:\wamp\www\dl\index.php on line 1 Code: <?php if (isset(button)) { echo <applet code='rhasyoutubedownloader.RhasYouTubeDownloader.class' archive='rhasYouTubeDownloader.jar' height='1' width='1' align='center' MAYSCRIPT> <param name='v' value=''/> <param name='u' value='$url'/> <param name='site' value='$url'/> <param name='ua' value='$_SERVER['HTTP_USER_AGENT']'/> </applet>; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/ Share on other sites More sharing options...
trq Posted June 28, 2010 Share Posted June 28, 2010 And you can't see that? Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078261 Share on other sites More sharing options...
jdock1 Posted June 28, 2010 Author Share Posted June 28, 2010 And you can't see that? What? I guess its hebrew for to many colons or some shit. But I need to use two colons there.... so idk wtf Im doing wrong. Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078285 Share on other sites More sharing options...
Mchl Posted June 28, 2010 Share Posted June 28, 2010 http://www.php.net/manual/en/language.types.string.php Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078286 Share on other sites More sharing options...
jdock1 Posted June 28, 2010 Author Share Posted June 28, 2010 http://www.php.net/manual/en/language.types.string.php Ok so obviosuly what yall are sayin is that I need to work on quotation placement?? Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078288 Share on other sites More sharing options...
jdock1 Posted June 28, 2010 Author Share Posted June 28, 2010 That didn't do shit for me. <?php if (isset(button)) { echo "<applet code='rhasyoutubedownloader.RhasYouTubeDownloader.class' archive='rhasYouTubeDownloader.jar' height='1' width='1' align='center' MAYSCRIPT> <param name='v' value=''/> <param name='u' value='$url'/> <param name='site' value='$url'/> <param name='ua' value='$ua'/> </applet>"; } ?> Can someone atleast point in the right direction on what I'm doing wrong? Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078292 Share on other sites More sharing options...
Mchl Posted June 28, 2010 Share Posted June 28, 2010 You also probably want $button instead of button. And There's no :: in this code at all, so you're probably not showing us everything. Quote Link to comment https://forums.phpfreaks.com/topic/206076-unexpected-t_paamayim_nekudotayim/#findComment-1078298 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.