Posted by Julian Moorhouse on 07/11/06 10:21
Hi,
I'm fairly new to mysql, but I have a reasonable knowledge of PHP.
I just want to know is theres a simple way to return a primary key
value for a record I've just inserted?
In other environments I'd set a flag using the current time stamp which
is inserted with the record.
Then I'd select on that timestamp and get the primary key value.
Is there a simpler way?
Jules.
Navigation:
[Reply to this message]
|