Hi all
I have a website that has a contact form in the footer of every page. When someone sumbits their details I do a check to see if the fields are filled in correctly. If the fields aren't filled in correctly I display an error just above the form.
The problem is that when the page loads after submit I need it to jump to the bottom of the page. I've put the following code just above the contact form:
<code=html><a name="contact"></a></code>
And I'm trying to use the following php code to jump to the bottom of the page:
<code=php>header("Location: ".$_SERVER."#contact");</code>
The problem is that #contact isn't being included in the redirect. How do I include it?