Re: MySQL Identity Field

From: Date: Fri, 21 Jul 2000 21:13:18 +0000
Subject: Re: MySQL Identity Field
Groups: php.db 
Request: Send a blank email to php-db+get-1414@lists.php.net to get a copy of this message
>To: php-db@lists.php.net >From: "Little Guru" <tabarry@email.com> >Date: Wed, 21 Jul 1999 12:23:15 +0500 >Subject: MySQL Identity Field > >Hello Every Body! Hi Doctor Nick! >I have a problem with mySQL+PHP. As far as I have studied the manual, mySQL >does not have a autonumber/identity data type as is Access or MS SQL Server. > >Can anyone tell, how can I use PHP to insert autonumbers in a mySQL >database. MySQL has an auto_increment property you can use with an int datatype, this is similar I suppose to identity and numeric. name int unsigned auto_increment

« previous php.db (#1414) next »