hasany cakephp

Solutions on MaxInterview for hasany cakephp by the best coders in the world

showing results for - "hasany cakephp"
Bliss
20 Nov 2016
1// check same schoolcode.
2$conditions = array(
3'School.school_code' => $data['School']['school_code'],
4);
5
6if ($this->School->hasAny($conditions)) {
7	$this->Session->setFlash(__('school_code_is_exist'), 'flash/error');
8	goto load_data;
9}
queries leading to this page
hasany cakephphasany cakephp