You should be able to simply replace $this->Profile->username with $this->data'Profile''username' You could also store the result of $this->Profile->save($this->data) in a local variable from which you could then extract the username, especially if the username might be altered, for example, in the beforeSave() callback The error message you got is normal though. CakePHP does not automatically create properties that correspond to column names.
You should be able to simply replace $this->Profile->username with $this->data'Profile''username'. You could also store the result of $this->Profile->save($this->data) in a local variable from which you could then extract the username, especially if the username might be altered, for example, in the beforeSave() callback. The error message you got is normal though.
CakePHP does not automatically create properties that correspond to column names.
Also, $this->Profile->modified = date("Y-m-d H:i:s"); will not work as you might expect. You will need to assign the return value of date("Y-m-d H:i:s") to $this->data'Profile''modified' instead. – Mike Jun 15 '10 at 3:23.
The correct way is putting it in your Model, not in your controller (because you are treating data, so it must be in the model). Terms of service. Not the answer you're looking for?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.