I have one a page webiste www.yahavi.com (all pages in 1 html) in which different pages are referenced using their div id (eg; #home, #contact ). After successful sign up I want to direct user to my thankyou page with id #thanku . How can i do that using my PHP script that runs after form submission.
home url: www.yahavi.com/#home
form at : www.yahavi.com/#contact
thankyou: www.yahavi.com/#thanku
I am using header (Location: /#thanku) in my PHP but this doesnt work.
Note: I dont want a complete new html page to reload.