Hi,
Wenn $j=0; gesetzt ist ergibt die Zeile <? echo "rowcol_".$j %2; ?> richtig: rowcol_1.
Nein.
Wenn $j=1; gesetzt ist ergibt sich rowcol_0.
Nein.
Da $j bei jedem Durchlauf erhöht wird, sollte also immer 0 und 1 abwechseln (Modulo 2).
Tun sie aber nicht, weil du es falsch notiert hast.
Schau endlich in den verdammten Quelltext, wenn du schon mit Überlegen nicht darauf kommst, was dein Script *wirklich* tut!
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]