Re: MySQL Identity Field
| From: | Bojan Gajic | Date: | Fri, 21 Jul 2000 07:41:48 +0000 |
| Subject: | Re: MySQL Identity Field | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1388@lists.php.net to get a copy of this message | ||
Something like
create table tablename (id int(8) unsigned auto_increment);
?
Little Guru wrote:
> Hello Every Body!
>
> 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.
>
> Thanks in advance.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Bojan Gajic
<bojan@inet.co.yu>