Ver original$sql = "SELECT Id FROM premios WHERE horai <= '".$momento."' and horaf >= '".$momento."'";