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

2008-01-31 Thread vinoth
Hi pals, i use this code to update my profile in two tables(users and usersprofile). email and password is to be update in users table and city,state,zipcode is to be update in userprofiles table. the relation between these two table is userid. this userid is stored in both the

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

2008-01-31 Thread manish
It looks you are missing to set the id of the userprofile table in your data array $this-data, as you did above for $this-data['User']['id']; I mean try setting the id of your userprofile table i.e. $this-data['UserProfile']['id'] On Feb 1, 9:11 am, vinoth [EMAIL PROTECTED] wrote: Hi pals,