CakePHP: how to get recently created auto-incremented field
Posted
by junior29101
on Stack Overflow
See other posts from Stack Overflow
or by junior29101
Published on 2010-04-29T09:06:43Z
Indexed on
2010/04/29
10:07 UTC
Read the original article
Hit count: 270
I have a user submit a field to the database, it validates, and makes the entry. The primary key of this new row is auto-incremented.
The user then gets to another form where that newly created field is required.
Can anyone shed any light on this problem?
Thanks in advance!
© Stack Overflow or respective owner