Not saving all data in cakephp

Posted by madphp on Stack Overflow See other posts from Stack Overflow or by madphp
Published on 2010-04-06T11:48:23Z Indexed on 2010/04/06 11:53 UTC
Read the original article Hit count: 453

Filed under:
|

Hi,

Im doing a simple save, and its not entering all the data. I have two models, message and emailmessage. The message table is getting populated ok, but the emailmessage table, is only getting the foreign key message_id. Below is the code. Anyone notice anything unsual?

EmailMessageModel - http://pastebin.com/tjNewnBw MessageModel - http://pastebin.com/57FSgAGZ

EmailMessageController - http://pastebin.com/AD0wNawx

Data - http://pastebin.com/8bzknwpu

Thanks

--Mark

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about php