I have a page where I want to display a form if the user clicked the url for that page, and well... This script below works totally fine in Firefox and Opera, but Internet Explorer (6 in my case) just shows a blank page. Although, when I refresh after visiting the page, it shows up fine. Deleting cookies etc from the browser doesn't solve anything..
<?php session_start(); ?>
doctype, htmltag, headtag etc etc...
<?php if($_GET['do'] == 'whatever') { ?>
Content for ?do=whatever...
End htmltag etc etc...
<?php exit; } // Then end the script, because we don't want to display more content for ?do=whatever ?>
...Content to display if no action was set...
I also noticed that once I removed session_start(); from the script, it worked fine in IE. Any help is appreciated!