Use Anchor with PHP?

After I submit my form I’m sending it to a thankyou page, but I’d like to goto a specific anchor on the page. Nothing I’ve done has worked yet. Any recommendations?

NOT WORKING

include'thankyou.php#anchorName';

Thanks!


header("Location: thankyou.php#anchorName");

include actually includes a file onto the page that you are looking at. Header(Location:) redirects…

Gotcha… I appreciate it. I’ll try it out tonight.

Yeah, that worked perfect. Thanks for the tip.