Make sure you have the AutoIncrement bit set on the table. -- Scott Carr Documentation Maintainer OpenOffice.org
Quoting Frank Tudor <[EMAIL PROTECTED]>: > I am using php on unix and have moved my pages and > database over from a win 2k server. > > I rebuilt the databases > > and figured the pages would work right. > > I have an mediumint set to null in my mysql database > > the code issues a null value and on windows it > increments properly. > > on unix it increments 0 and then fails for every other > query after that. > > What can I do to fix this? > > thanks, > Frank > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php