<?php
$base = mysqli_connect('localhost', 'root', '', 'vimeo_bd');
<?php
include 'data/base.php';
if(isset($_POST['submit'])){
$login = $_POST['login'];
$password = $_POST['password'];
$rep_password = $_POST['rep_passworld'];
$email = $_POST['email'];
$stmt = $base->prepare("INSERT INTO `register`(`login`, `password`, `email`) VALUES(?, ?, ?");
$stmt->bind_param("s", $login);
$stmt->bind_param("s", $password);
$stmt->bind_param("s", $email);
$stmt->execute();
}