I've been breaking my head around this. I supose that should be a simple error that a can't find, and I'm looking for new eyes to help solve.
I want to update the content of a form ("myForm") to a mysql database ("dbcerberus") via PHP, and for some reason, a just can't.
Here is my HTML
    <div id="form">
        <select></select>
        <form id="postForm" method="POST" action="userForm.php">
            <p>Nome:</p>
            <input id="_nome">
            <p>CPF:</p>
            <input id="_cpf">
            <p>Telefone:</p>
            <input id="_tel">
            <p>Endereço:</p>
            <input id="_adress">
            <button id="submit">Save</button>
       </form>
       <button id="openVideoButton">LOAD</button>
   </div>
And here is mais postForm.php and connect.php
connect.php
<?php
// Create connection
$conn = mysql_connect('localhost', 'root', '');
$db = mysql_select_db(dbcerberus);
?>
postForm.php
<?php
    include_once('connect.php');
    $name = $_POST['_nome'];
    $cpf = $_POST['_cpf'];
    $tel = $_POST['_tel'];
    $address = $_POST['_adress'];
    if(mysql_query("INSERT INTO tbvisitante VALUES('$cpf', '$name', '$address', '$tel')"))
        echo "Succes"
    else
        echo "Error"
?>
Thanks in advance. P.s.: Sorry for my bad english.
 
     
    