I have a page to register user.
in DB,there are 2 tabels.:users, profiles.
users table has below fields:
id,
email,
password.

profiles table has:
id,
user_id,
last_name,
...
here user_id is the id in Users table.

In the registration page, email, password, last_name etc, fields need
to input.

My question is :
 How to insert the data from registration page into the seperate
tables?
I have defined User, Profile models, and
UserControllers,ProfileController controllers.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to