Re: [PHP-DB] Auto increament

2004-06-28 Thread Rinku
Thank you. It worked. Rinku --- Jonathan Haddad <[EMAIL PROTECTED]> wrote: > I believe the data type needs to be int - unless > mysql interprets > auto_increment as a int automatically. > > Here's an example from mysql.com > > > CREATE TABLE animals ( > id MEDIUMINT NOT NULL AUTO

Re: [PHP-DB] Auto increament

2004-06-27 Thread Daniel Clark
Yes there is an auto increment field in mySQL and most other databases. >>Can any of you guide me how to do auto increament in a field? >>I think there is one datatype for auto increament. >>But I dont know how to do it ? >> >>Rinku -- PHP Database Mailing List (http://www.php.net/) To unsubscr

Re: [PHP-DB] Auto increament

2004-06-27 Thread Larry E . Ullman
Can any of you guide me how to do auto increament in a field? I think there is one datatype for auto increament. But I dont know how to do it ? I'd start by reading the manual and documentation for the database application being used. But, generally, auto incremented fields are primary keys, unsi

[PHP-DB] Auto increament

2004-06-27 Thread Rinku
Can any of you guide me how to do auto increament in a field? I think there is one datatype for auto increament. But I dont know how to do it ? Rinku - Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers!