Laravel: Nested loop html option and increasing the indent (prefix)
I want to display indented subcategories in the html option tag. I created a recursive iteration in a separate file that I import in a foreach statement. With the first subcategories, I get a prefix of one space and when…