SQLite PRIMARY KEY.

From: Date: Sat, 31 Jan 2004 00:51:48 +0000
Subject: SQLite PRIMARY KEY.
Groups: php.db 
Request: Send a blank email to php-db+get-32728@lists.php.net to get a copy of this message
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.

« previous php.db (#32728) next »