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 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] 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! Link to comment https://forums.phpfreaks.com/topic/4589-echo-php-script/#findComment-16062 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.