0
Guys, I have a table of categories. At the moment I have 3 categories, what I want is that when I register one more category, type 3 increased to 4, I want to show a specific div, because this div can only appear if you want the number of categories.
I take the total of categories
$total = $categories->count();
I need to make a comparison of the total of current categories, ie before increasing this total, and compare with the value after being added one more category and then if compared to if is true I show this div. Oh this the problem, I do not know how to assemble that logic. If anyone can help me thank.
Just what I needed, thank you very much. God bless.
– Rafael
@Rafael no problem my dear, tb da para "programar" em CSS :D
– hugocsl