stuck on sqlite primary key
gives me syntax error :(
here is the link to the site
http://www.mazatlano...luvia/systemays
and here is the code to prepare the database
//CREAR UNA TABLA DE USUARIOSIST==============================
//Abrir conexion-----------------------------
$conexion = sqlite_open('sistemays.db') or die('No se pudo realizar la conexion');
//Crear tabla--------------------------------
$consulta =
<<<SQL
id Int Not Null,
Primary Key(id),
usuario Char(40) Not Null,
contrasena Char(40) Not Null,
nivel Char(10) Not Null,
quienAgrego Char(40) Not Null,
nombres Char(40) Not Null,
apellido1 Char(40) Not Null,
apellido2 Char(40) Not Null,
direccion Char(150) Not Null,
telefono Char(60) Not Null,
edad Int,
email Char(100),
ingresoMes Int,
acumulado Int,
realizoPago Char(30),
permisos Int,
idActualizar Int
);
SQL;
//insertar contenido en la tabla-------------
$resultado = sqlite_exec($conexion,$consulta);
//cerrar conexion----------------------------
sqlite_close($conexion);Sorry about the language of the program and is my first topic. I hope I gave you enough info.
Thanks






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None














Help