Hy,
 
I would like to know if I do a mistak :
$i % 3 == ?
 
If $i is a multiple of 3 the result is 0, yes or no ?
 
If yes so what is wrong in this script
 
For ($i = $val; $i < ($val+9); $i++) {
  For ($j = 1; $j < 10; $j++) {
    If ($serie == Blue) {
      If($i <= 18) {
        If ($j = 9) {
          print "<td width='20%' align='center'>";
          print "<img border=\"0\" src="\"../../images/galeries/series/".$serie."/".$serie."".$i.".jpg\"></td></tr>";
        } Else {
          If (($i%3) == 0) {
            print "<td width='20%' align='center'>";
            print "<img border=\"0\" src="\"../../images/galeries/series/".$serie."/".$serie."".$i.".jpg\"></td>";
            print "</tr><tr>";
          } Else {
              print "<td width='20%' align='center'>";
              print "<img border=\"0\" src="\"../../images/galeries/series/".$serie."/".$serie."".$i.".jpg\"></td>";
          }
        }
      }
    }
  }
}
 
Thank You
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply via email to