Skip to content
Advertisement

Tag: insert-update

cakephp: update hasmany related tables

For example, if we have: from http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html How should we do an update on the Comment table from the User controller given that all these data is submitted using one form? This is somehow the same as my question here: updating related tables in cake which I unfortunately got no correct answer. Can someone enlighten me on how this works?

Advertisement