w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
CakePHP Parent/Child Association: confusion in creating records at the same time?

try setting the 'group_id' field in the 'Requests' record manually to $this->Request->Group->getLastInsertID();

that should give you the ID of the last group created.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.