I'd swear that I actually tried this before and it didn't work. blush Thanks, it does work :)
Model->create() will save it into the table and then update the new saved model variable and then you can use $model->id to get the new incremented id
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us