PHP + CSS

EscuderoKevin

Well-Known Member
Jul 2, 2015
380
181
130
Hello i have IconManager for TS3.

But i have a problem.

When i get all icons see that form.

http://vvcap.com/kZq9AqqIE3U

I need to order in colums.

Code for create "Table Image"

  1. if($estaengrupo) {
  2. $iconosm = $iconosm + 1;
  3. echo '<li><img src="./iconos/icons/'.$group['id']. '.png" alt="" /> ';
  4. echo '<label><input type=checkbox name=grupos['.$group["id"].'] id="'.$group["id"].'" value="'. $group["id"].'"class="icono" checked >'.$group["name"].'</label><br>';
  5. } else {
  6. echo '<li><img src="./iconos/icons/'. $group['id'] . '.png" alt="" /> ';
  7. echo '<label><input type=checkbox name=grupos['.$group["id"].'] id="'. $group["id"] .'" value="'. $group["id"] .'" class="icono"> '.$group["name"].'</label><br>';
  8. }
 

indect

New Member
Jan 16, 2017
16
17
18
I'm not sure if I understood everything right.
You have an array and want to sort it, correct?
Is it a multi-dimensional array? What attribute do you want to order it by?
 
Top