note 46651 added to ref.sqlite
| From: | j-pieper at NOSPAM dot web dot de | Date: | Tue, 19 Oct 2004 10:18:30 +0000 |
| Subject: | note 46651 added to ref.sqlite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78751@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
----
Manual Page -- http://www.php.net/manual/en/ref.sqlite.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46651
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46651&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46651&report=yes
Search -- http://master.php.net/manage/user-notes.php