My Collections
This is the place where I store the words when I surfing. Share with u.
这里放着我在网上看到的文章,和你一起分享。
Wednesday, April 16, 2008
symfony get insert_id
To get the last inserted record id in symfony, you can do as below:
$newHistory = new History();
$newHistory->setUpdateTime($now);
$newHistory->save();
$newHistory->getId()
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment