yogibear Posted August 22, 2008 Share Posted August 22, 2008 Hi Can you tell me how to fix this, I know the problem is the quotes. I have been trying to copy the fix on http://www.phpfreaks.com/forums/index.php/topic,120612.0.html but have had no luck. echo '<script language="javascript" type="text/javascript"> <!-- window.setTimeout('window.location="http://www.***.co.uk/record/admin/main.php"; ',2000); // --> </script>'; Best wishes yogi Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted August 22, 2008 Share Posted August 22, 2008 To make it easier, use heredoc syntax: echo <<<html <script language="javascript" type="text/javascript"> <!-- window.setTimeout("window.location='http://www.***.co.uk/record/admin/main.php';",2000); // --> </script> html; 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.