I'm new with PDO and I have little problem. Code is not inserting any data in my database, don't know why. Something wrong with binding or sth else?

```
<form action="" method= "POST">
    First name: <input type="text" name="data_name"><br>
    E-mail: <input type="email" name="data_mail"><br>
    City: <input type="text" name="data_city"><br>
    <input type="submit" value="Submit">
</form>

<?php

    $dsn = 'mysql:host=localhost;dbname=tabelaDB';
    $username = 'root';
    $password = 'pass';

    $db = new PDO($dsn, $username, $password);

    $name = $_POST['data_name'];
    $mail = $_POST['data_mail'];
    $city = $_POST['data_city'];

    $sql = $db->prepare( "INSERT INTO data ( data_name, data_mail, data_city ) VALUES ( :data_name, :data_mail, :data_city )");

    $sql->bindValue(':data_name', $name);
    $sql->bindValue(':data_mail', $mail);
    $sql->bindValue(':data_city', $city);

    $sql->execute();
?>

```