PHP - Is there a way to redirect to a page instead of using die()?

Matthew K

New member
Is there?
Would something like mysql_query("SELECT...") or header("Location: error.php") work? I am trying to replace the die() so instead of completely terminating it will redirect to an error page.
 
Back
Top