Support the ongoing development of Laravel.io →
Requests Database Forms

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the modules in module builder,suppose if i select two forms like sample and client.after that will give the two table names and created module.Now if i check the database,it is showing two forms sample and cleint data in one table.I want to store the two forms data in two different tables like module_sample and module_cleint.Can anyone suggest me?

Last updated 3 years ago.
0

DB::table('module_sample')->insert($data);

Use query builder syntex and for more reference go here http://laravel.com/docs/queries#inserts

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.