I want to send my users to different pages based on user action. So I made multiple functions at the top of the page like so:
I have a nice solution:
die(header("Location: someting.php");
You can do that as often as you want. (Nothing else worked for me and to me this is a nice alternative)
Especially for everyone who has a problem with using multiple options for "header" (on my site it would always just take one, no matter what I did)