This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

onyekami2524134
onyekami2524134

Hey Guys,

Upon user registration I would like to insert the newly registered user's id into another table. How do I obtain, and then insert that newly created user's id? Thank you

pardeep_kumar9329793
pardeep_kumar9329793

This is done by primary and foreign key key combination for example if your table is called "user" so it has "id" field that is primary key of user table than use this is like user_id into another table as set foreign key to the table .

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.