joa is ganz einfach
$col1 = "#E3E2E1";
$col2 = "#CCCCCC";
ist variablen deklarierung
$color = ($color == $col1) ? $col2 : $col1;
$color nimmt wert von $col2 an, wenn $color gleich dem Wert von $col1 ist ansonsten wird $color der Wert von $col1 zugewiesen
__________________
Beantworte nie Threads mit mehr als 15 followups...
Real programmers confuse Halloween and Christmas because OCT 31 = DEC 25
|