Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sashaaa's avatar

I want to build a controller for my modal in Laravel

Hey guys, i'm new on Laravel and i'm trying to implement a modal where the user sends a clasification and comment about the service he received. The thing is, i'm a bit confused about the structure of the controller, cause the data has to be sent to a database table that brings selected values from other table, plus the comment the user is writing. Can anybody recommend a video about that?

0 likes
1 reply
tykus's avatar

Your requirements are unclear - are you wanting to store data from another table in the comments table?

Also, we talking about a modal or a Model?

Please or to participate in this conversation.