Its fine if it refreshes the whole page, I just want the confirmation that the form has been sent to appear on the right hand side where the form was.
The way the site is set up is that when you click on a part of the menu on the left the url looks like this:
www.website.com/index.php?location=form
when the form gets submited it takes the user to:
www.website.com/form.html
instead of refreshing in the same location of the php code.
Do you know how to fix this?