note 46651 modified in ref.sqlite by felipe

From: Date: Wed, 28 May 2008 12:44:59 +0000
Subject: note 46651 modified in ref.sqlite by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-139931@lists.php.net to get a copy of this message
If you want to create a table in your database which should have an integer primary key, you cannot declare the row like this: id int(16) primary key or id integer(16) primary key When you declare it like this it could be that the id isn't auto increment. You have to declare it like this: id integer primary key --was-- If you want to create a table in your database which should have an integer primary key, you cannot declare the row like this: id int(16) primary key or id integer(16) primary key When you declare it like this it could be that the id isn´t auto increment. You have to declare it like this: id integer primary key http://php.net/manual/en/ref.sqlite.php

« previous php.notes (#139931) next »