Grodo Posted August 1, 2007 Share Posted August 1, 2007 Hello Again! I guess the PHP and Javascript are not playing nicely =( I recieve the error Parse error: parse error, unexpected T_ECHO in phpharvest.php on line 205 for some reason it does not like the echo. Any help will be greatly appreciated! Thank You Grodo $jpop = "<script language=javascript type=text/javascript> function successlaunch(url) { newwindow=window.open(url,name,height=800,width=500,toolbar=no,titlebar=no,statusbar=no,locationbar=no,menubar=no,scrollbars=1); if (window.focus) {newwindow.focus()} javascript:successlaunch(passed.html); </script>" echo($jpop); Quote Link to comment Share on other sites More sharing options...
DeepakJ Posted August 1, 2007 Share Posted August 1, 2007 You forgot the semicolon before the echo Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted August 1, 2007 Share Posted August 1, 2007 Grodo Is right try: <?php $jpop = "<script language=javascript type=text/javascript> function successlaunch(url) { newwindow=window.open(url,name,height=800,width=500,toolbar=no,titlebar=no,statusbar=no,locationbar=no,menubar=no,scrollbars=1); if (window.focus) {newwindow.focus()} javascript:successlaunch(passed.html); </script>"; echo($jpop); ?> Quote Link to comment Share on other sites More sharing options...
Grodo Posted August 1, 2007 Author Share Posted August 1, 2007 Now all I got is an error in my Java code hahahha but this not what this section is for so Topic Solved! Thank YOu so much those ; are tricky they are like ninjas with their stealth secrets! Quote Link to comment 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.