How to use registration form for two tables

Posted 6 months ago by AbdulBazith

Guys i am working with a project job portal.

I have a register form which has fields such as(company_name, company_type,description, address, email_id, phone number, logo)

when i click submit i have a controller "company_registrationController" in that i have given the sotre method to insert the data i db

at the same time the email-id, phone number,and the name of the company must be inserted into the user table??

how it is possible??

i need to use the email_id as username and phone number as password.

Kindly some one suggest please

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.