I am new to laravel and i want to insert the data into two different tables using one form submission. Example i want to insert the user's account info into "tbl_users" (e.g. Email, Password) and the user's info will be inserted into "tbl_client" (e.g. Name,Bday,Address).By the way i am just using the laravel default auth register (User.php, RegisterController.php). Is there is a safest way to do that ?.



Aucun commentaire:
Enregistrer un commentaire