Skillbooker
Login Register

Cakephp


How to debug save() on cakephp

Make sure beforeSave() returns true. 

if($this->save($this->data)) {
  echo 'worked';
} else {
  echo 'failed';
}


Posted on: 2016-06-01 Please login/register to leave comments