<?php
$con = mysqli_connect("localhost","root","","osposver320");

// Check connection
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
  

//  $server = "localhost";
//    $connection = mysqli_connect ($server,"branda20_dutyfre2","g^hk-QJOEM3h","branda20_dutyfre2");
//    if(!$connection){
//     // if not connected it will gives the error here
//     echo "server not found".mysql_error();
// }  

// $query1="SELECT id FROM winner WHERE time >='$startdate' AND time<='$enddate' ";
// $res=mysqli_query($connection,$query1);


//   while ($row = $res->fetch_assoc()) {
//    // echo $row['id']."<br>";
//     $disableit=$row['id'];
//     $amount=$row['amount'];
// }
?>