Showing posts with label PHP Redirection - Anchor link problem in INTERNET explorer. Show all posts
Showing posts with label PHP Redirection - Anchor link problem in INTERNET explorer. Show all posts

Thursday, September 5, 2013

PHP Redirection - Anchor link problem in Internet explorer

Well, this was one of the latest issue encountered by me while redirecting to a php page in a php file using php header() function in Internet Explorer.
Problem Description:
header("Location: abc.php?a=b#area"); where area is an anchor link in the html generated by php file abc.php like this
<a name="area" id="area"></a>
The above header function should take to the page abc.php with the current view of the screen on "area" link.
It did so in all major browsers except in Internet Explorer.