I’m trying to make a dynamic resume. To show the skills I’ve created 3 tables as follows-
- Skills - Contains all skill with expertise level
- Groups - Contains category like front end, back end, database, programming etc
- Skill_Groups - As one skill can be in multiple groups, I made this table. For example- PHP can be back end group also in programming group.
Skills
Groups
Skill_Groups
Now, I would like to display the groups and skills with nested list. Example-
-
Front end
⁃ HTML
⁃ CSS
-
Back End
⁃ PHP
⁃ MySQL
For this, I need a multidimensional array. What should be the query in laravel to get the result on this way?
[This question may be duplicate one, but I didn’t found. If so, please let me know, I will merge/delete it.]
Any alternate solutions also appreciable, if have.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire