[prev in list] [next in list] [prev in thread] [next in thread]
List: php-db
Subject: Re: [PHP-DB] SQLite PRIMARY KEY.
From: Stuart Gilbert <stu () better ! domain ! name>
Date: 2004-01-31 2:09:00
Message-ID: 401B0E3C.7000900 () better ! domain ! name
[Download RAW message or body]
Well, it appears I tried everything except JUST the word NULL.
Sorry for wasting your time.
Regards,
Stuart Gilbert.
Stuart Gilbert wrote:
> I'm trying to get my PHP code to INSERT a new row and have the PRIMARY
> KEY field automatically set to the next available integer.
> I read, somewhere, that if I send null as the primary key value then
> SQLite will automatically incrememnt it for me.
>
> I've tried sending all sorts of things that I thought might work, but as
> yet I have not been able to get it right.
>
> Can someone please help me?
>
> Regards,
> Stuart Gilbert.
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic