title: Warning: SQLite3::exec(): near ")": syntax error
body: <p><em>I don't know the reason of this warning, I have checked the code a lot of times on the web,and I don't find a syntax error.</em></p>
  
  <pre><code>Warning: SQLite3::exec(): near ")": syntax error in     C:\xampp\htdocs\marcadoresOnline\instalacion.php on line 19
  </code></pre>
  
  <p><em>Here's the code.</em></p>
  
  <pre><code>&lt;?php
  $conexion = new sqlite3 ('Favoritos.db');
  if(!$conexion){echo $conexion-&gt;lastErrorMsg();
     } else {echo "Base de datos abierta/creada exitosamente.\n";
     }
  
  $consulta = &lt;&lt;&lt;SQL
    CREATE TABLE favoritos (
      usuario Char()40 NOT NULL,
      contrasena Char(40) NOT NULL,
      titulo Char(40) NOT NULL,
      direccion Char(100) NOT NULL,
      categoria Char(40),
      comentario Char(200),
      valoracion Int
      );
  SQL;
  
  $resultado = $conexion-&gt; exec($consulta);
     if(!$resultado){ echo $conexion-&gt; lastErrorMsg();}
      else { echo "Tabla creada exitosamente.\n";
     }
  
  $conexion-&gt;close();
  </code></pre>