You can do these sorts of things in your PHP if...else statements (for starters): 1. echo(); 2. include(); exit; 3. header('Location: page.php'); exit; 4. header('Location: http://www.website.com'); exit;