I have created a table with a Primary Key that is an auto_incrementing
field.  I was able to receive the auto_increment values by issuing a
last_insert_id().  When I added a timestamp to this table, the
last_insert_id() no longer returned any value except 0.

Is there a MySQL rule that you can not have an auto_increment field and a
timestamp field in the same table?

Thanks.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to