Want to create a counter for dynamic value from the database. Like if I am getting $count
as 1
then it shows only two div like First for 0
and second for 1
. If I am getting $count
value 50
then it should show me 3 divs like 0
, 5
and 0
. For multiple count values how can I make it dynamic for the $count
value?
Given below I have attached an image like if I am getting this no then how can I separate this no to all dynamic div.