<?php
// session_start();
date_default_timezone_set('Asia/Kolkata');

// $servername = "localhost";
// $username = "root";
// $password = "";
// $database = "oriental_international_public_school";

$servername = "localhost";
$username = "u882412079_oips";
$password = "Project@065";
$database = "u882412079_oips";

try {
    $conn = new PDO("mysql:host=$servername;dbname=$database", $username, $password);
    // set the PDO error mode to exception
    $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        // echo "Connected successfully"; 
        // die();
    }
catch(PDOException $e)
    {
    echo "Connection failed: " . $e->getMessage();
    }                      
?>