Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-27 Thread elias
yes, sort of... both have same number. Alexander Skwar [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : first field is the primary key and is called 'id' and is an integer, and i want another field of type

[PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias
Hi! I want to have to fields, first field is the primary key and is called 'id' and is an integer, and i want another field of type integer to be also autoincremented... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread David Robley
On Thu, 26 Jul 2001 18:53, elias wrote: Hi! I want to have to fields, first field is the primary key and is called 'id' and is an integer, and i want another field of type integer to be also autoincremented... If you are using mysql, this snippet from the manual answers your question:

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread Alexander Skwar
So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : first field is the primary key and is called 'id' and is an integer, and i want another field of type integer to be also autoincremented... Pardon me - but what would be the use?? Both columns would contain the same numbers, no? Alexander