professor_z Posted March 10, 2006 Share Posted March 10, 2006 I'm having trouble with this code[code] echo '<html><head><title>File Download</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="<?php echo($wait); ?>; url=index.php?get=<?php echo($get); ?>&send">[/code]My page doesn't load anything Quote Link to comment https://forums.phpfreaks.com/topic/4589-echo-php-script/ Share on other sites More sharing options...
Barand Posted March 10, 2006 Share Posted March 10, 2006 try[code]<?phpecho '<pre>';echo htmlentities('<html><head><title>File Download</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="refresh" content="<?php echo($wait); ?>; url=index.php?get=<?php echo($get); ?>&send">');echo '</pre>';?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/4589-echo-php-script/#findComment-16057 Share on other sites More sharing options...
professor_z Posted March 10, 2006 Author Share Posted March 10, 2006 Cheers Barand,It didn't work, however when I took off the <php? it shows up as text on the page.Any other suggestions? appreciate it as is, cheers! Quote Link to comment https://forums.phpfreaks.com/topic/4589-echo-php-script/#findComment-16062 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.