Show Total member in different way

allgenresaacq

New Member
i m working Multi-level marketing concept, after calculation store all member in this $member variable, i want to show all members in diffrent wayCondition: First 4 box not greater than 10 and last 4 box not greater than 100Case 1: $member = 37, show member like that
T2mo9.jpg
Case 2: $member = 300 , show member like that
PwP3j.png
\[code\]$a = array_fill(1, $member, 1);$chunked_array = array_chunk($a, 10);foreach($chunked_array as $key=>$single_arr) { ?> <div class="id_box1"><?php echo array_sum($single_arr); ?></div> <?php } ?>\[/code\]my above code is working fine if i have 40 member or less , but i dont know how to handle code if member is greater than 40help me
 
Back
Top