Hello,
I have been attempting to use the Header function to redirect to a target within a document.
In the document I am attempting to redirect to, I set up target locations within the document using <a name="somename"></a> tags. I then use the Header function as follows: Header("Location: $url/$page#$target);
The problem is that the # sign and anything following it get completely stripped out of the url when the page is redirected. The browser window remains at the top of the redirected page instead of scrolling down to the target. I am not sure if this is a bug or if I am doing something stupid. Any help would be useful. Thanks in advance.