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

asss02's avatar

Create Query based on User selection

Hi! I am working on a project with Laravel 8 and one of the requiraments is to export data to Excel I found the library Laravel Excel and it is working fine. Then I have created a view where the user selects a table then It show all related tables to it and the user can continue selecting the related tables he wants after that the user selects all attributes he needs from each table. So the issue or what I can not find how to solve is to create a query based on what the user has selected. I hope someone has an idea how can I do this.

0 likes
2 replies
SilenceBringer's avatar

Please or to participate in this conversation.