setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); header("Location:index.php"); } catch(PDOException $e) {} echo "













No connection to the database!
"; ?>