其實唔洗太難。。。
只要咁做就得
記住一定要有個relational table入面既reference key。。。好似flight_id咁
$this->data['Package']['id']='1';
$this->data['Package']['content']='i am a package. haha';
$this->data['Flight']['0']['FlightsPackage']['flight_id']='1';
$this->data['Flight']['0']['FlightsPackage']['service_class']='22';
No comments:
Post a Comment