How do i have it so if a user's name is not found in a database it forwards them to another page?... I know how to check the database... i just need to know how to forward.
-Thanks
forwarding a user
Moderator: General Moderators
Make sure there is no HTML headers on the page, then:
Code: Select all
<?php
// in the middle of the error section
header ("Location error.php");
?>