How to update myprofile data in more than one table

2008-01-31 Thread vinoth
Now my need is to update my profile in two tables users and usersprofile table. i use the below code for updation, but it only update in user table, not in userprofile table. instead of update in userprofile, it is inserted the data in a new row. i dont know why? userid is the common field for

How to update myprofile in more than one table at a time.

2008-01-31 Thread vinoth
ect('/users/account_settings'); }else{ $this->Session->setFlash('Please check'); $this->redirect('/users/account_settings'); } } } it is updated email and password in users table correctly, the rema

how to update a profile in cakephp

2008-01-30 Thread vinoth
i faced a problem while update my profile. function edit($id){ if (empty($this->data)) { $this->product->id = $id; $this->data = $this->product->read(); }else{ if($this->product->save($this->data['product'])){ $this-