Okay, gebe es eine Möglichkeit dies irgendwie am einfachsten zu gestlaten ?
Wäre es auch möglich:
PHP
"I_Heli_Transport_02_F","I_Heli_Transport_01_F" => array(
"HitHull" => array(0 => "<span class='label label-success'>HULL</span>",
0.1 => "<span class='label label-success'>HULL</span>",
0.2 => "<span class='label label-success'>HULL</span>",
0.3 => "<span class='label label-success'>HULL</span>",
0.4 => "<span class='label label-success'>HULL</span>",
0.5 => "<span class='label label-warning'>HULL</span>",
0.6 => "<span class='label label-warning'>HULL</span>",
0.7 => "<span class='label label-warning'>HULL</span>",
0.8 => "<span class='label label-danger'>HULL</span>",
0.9 => "<span class='label label-danger'>HULL</span>",
1 => "<span class='label label-danger'>HULL</span>")
)
Alles anzeigen
das I_Heli_Transport_02_F und I_Heli_Transport_01_F den gleichen HitHull haben ?
Und irgendwie nimmt er immer nur 0.9 obwohl die Zahl 0.4 ist.