title: Why I can't pass the data to database
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>Here is my HTML</p>
  
  <pre><code>    &lt;div id="form"&gt;
          &lt;select&gt;&lt;/select&gt;
          &lt;form id="postForm" method="POST" action="userForm.php"&gt;
              &lt;p&gt;Nome:&lt;/p&gt;
              &lt;input id="_nome"&gt;
              &lt;p&gt;CPF:&lt;/p&gt;
              &lt;input id="_cpf"&gt;
              &lt;p&gt;Telefone:&lt;/p&gt;
              &lt;input id="_tel"&gt;
              &lt;p&gt;Endereço:&lt;/p&gt;
              &lt;input id="_adress"&gt;
              &lt;button id="submit"&gt;Save&lt;/button&gt;
         &lt;/form&gt;
         &lt;button id="openVideoButton"&gt;LOAD&lt;/button&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>And here is mais postForm.php and connect.php</p>
  
  <pre><code>connect.php
  &lt;?php
  
  // Create connection
  $conn = mysql_connect('localhost', 'root', '');
  $db = mysql_select_db(dbcerberus);
  
  ?&gt;
  
  
  
  
  
  
  postForm.php
  &lt;?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"
  
  ?&gt;
  </code></pre>
  
  <p>Thanks in advance.
  P.s.: Sorry for my bad english.</p>