转子:http://www.thinksaas.cn/group/topic/7638/
非常感谢!
$post->save();
//得到上次插入的Insert id
$id = $post->attributes['id'];
so easy!
转子:http://www.thinksaas.cn/group/topic/7638/
非常感谢!
$post->save();
//得到上次插入的Insert id
$id = $post->attributes['id'];
so easy!