I didn't set the model for this table. But i would like to know how to process it in the view. Do I have to create a model for it to maintain it?
how will it looks like
here is the structure of table
Categories
id
parent_category
title
and the end result would be like this
<ul>
<li>ACME Products Inc.</li>
<ul class=”children”>
<li>Acme Accounting Solutions</li>
<li>Acme Reseach & Development
<ul>
<li>Acme Prototypes Limited</li>
</ul>
you dont have to create a model but then you would need to create queries yourself.. in controller to get the required data..
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community