'How can i use single category table for having category in Posts, Pages and Advertisement Section in Laravel
i need some help regarding using single category db table for all categories in my application. I want to have a single table which contains all type of categories.
And when creating a Post , i would like to display only Post Model related Categories and while creating a Page i would like to display only Page Related Categories for selection.
How can i achieve this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
