Friday, December 21, 2007

CakePHP: findByName

CakePHP: Form fields doesn't show the validation errors;

echo $html->formTag('

cause: forgot to 'echo' tags..

CakePHP: findBy*()

findByAll*()

findByName($this->data['Model']['column']

eg: findByEmail($this->data['User']['email']

No comments: